diff --git a/settings.py b/settings.py index 70817cf..8bbdea3 100644 --- a/settings.py +++ b/settings.py @@ -16,7 +16,10 @@ class Settings: self.settings = eval(file.read()) file.close() - def save(self, path): + def save(self, path: str=None): + if path is None: + path = self.path + file = open(path, "w") file.write(str(self)) file.close()