diff --git a/app/views.py b/app/views.py index 478d845..320cb16 100644 --- a/app/views.py +++ b/app/views.py @@ -56,7 +56,7 @@ def powerbar_control(powerbar, outlet, action): print(f"Telnet error: {e}") abort(500) - return "200" + return action @routes.route('///state')