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