diff --git a/main.py b/main.py index a78f62f..b7e1634 100644 --- a/main.py +++ b/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