From fda9df2e3d580fc3186cf8a9656953b15fa976bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Tue, 4 Jan 2022 02:47:25 +0100 Subject: [PATCH] removed bracket from function caller --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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