Update server.py
This commit is contained in:
parent
d02cde7682
commit
856051ca45
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user