diff --git a/config.py b/config.py index a7dad98..7c154d0 100644 --- a/config.py +++ b/config.py @@ -49,6 +49,11 @@ def set_settings(setting, value): with open('settings.json', 'r') as f: + settings = json.load(f) + + settings[setting] = value + + with open('settings.json', 'w') as f: json.dump(settings, f, indent=4) def get_settings(setting):