minor ui change

This commit is contained in:
Neythen
2021-05-04 22:49:33 +01:00
parent 742a6b903a
commit bcc8e551ae
2 changed files with 4 additions and 4 deletions

View File

@@ -97,9 +97,9 @@ def Speed():
@app.route("/Brightness", methods=['POST'])
def Brightness():
global brightness
brightness = request.form['text']
brightness = int(request.form['text'])-1
print(brightness)
ticker.sendline(brightness)
ticker.sendline(str(brightness))
global LastCommand
LastCommand = 'Change Brightness'
return hello()