diff --git a/server.py b/server.py index 437f431..e28e5a5 100755 --- a/server.py +++ b/server.py @@ -260,7 +260,7 @@ def brightness(): general_settings = json.load(open('csv/general_settings.json', 'r')) - general_settings['brightness'] = int(brightness)-1 + general_settings['brightness'] = int(brightness) json.dump(general_settings, open('csv/general_settings.json', 'w+')) return index()