From 856051ca45be816af75705512ea49e6c2f526c7c Mon Sep 17 00:00:00 2001 From: Neythen Treloar <33317183+zcqsntr@users.noreply.github.com> Date: Wed, 8 Dec 2021 17:00:42 +0000 Subject: [PATCH] Update server.py --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()