Update server.py

This commit is contained in:
Neythen Treloar 2021-12-08 17:00:42 +00:00 committed by GitHub
parent d02cde7682
commit 856051ca45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()