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