removed bracket from function caller

master
Ebbe Baß 2022-01-04 02:47:25 +01:00
parent b6165fadfc
commit fda9df2e3d
1 changed files with 2 additions and 2 deletions

View File

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