From ee5d2fd3bed970e968f4339a462dd98b8a950945 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Tue, 4 Jan 2022 02:40:03 +0100 Subject: [PATCH] Fixxed function caller in the API --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index f04cd6e..b452a65 100644 --- a/main.py +++ b/main.py @@ -18,9 +18,9 @@ app = Flask(__name__) def index(): command = str(request.args.get('command')) if command == "switch-ilde-mode": - change_idle_mode() + change_idle_mode elif command == "switch-toggle-on-off": - power_toggle() + power_toggle return command