removed bracket from function caller
parent
b6165fadfc
commit
fda9df2e3d
4
main.py
4
main.py
|
@ -81,10 +81,10 @@ def index():
|
|||
command = str(request.args.get('command'))
|
||||
if command == "switch-ilde-mode":
|
||||
print('Switched Idlemode via API')
|
||||
change_idle_mode()
|
||||
change_idle_mode
|
||||
elif command == "switch-toggle-on-off":
|
||||
print('Toggled Power via API')
|
||||
power_toggle()
|
||||
power_toggle
|
||||
|
||||
return command
|
||||
|
||||
|
|
Loading…
Reference in New Issue