minor ui change
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user