This commit is contained in:
Matthew Frost 2023-11-19 01:39:41 +01:00
parent bfda5805ac
commit b34ecf5466

View file

@ -56,7 +56,7 @@ def powerbar_control(powerbar, outlet, action):
print(f"Telnet error: {e}")
abort(500)
return "200"
return action
@routes.route('/<string:powerbar>/<int:outlet>/state')