From b34ecf5466d1a11ec303a09028dd1f27bab48764 Mon Sep 17 00:00:00 2001 From: Matthew Frost Date: Sun, 19 Nov 2023 01:39:41 +0100 Subject: [PATCH] state --- app/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')