diff --git a/settings.py b/file_dict.py similarity index 98% rename from settings.py rename to file_dict.py index 8bbdea3..c2a6804 100644 --- a/settings.py +++ b/file_dict.py @@ -1,6 +1,6 @@ #!/usr/bin/python3 -class Settings: +class FileDict: def __init__(self, path: str=None): self.path = path @@ -10,7 +10,6 @@ class Settings: else: self.load_from_file(path) - def load_from_file(self, path): file = open(path, "r") self.settings = eval(file.read())