state
This commit is contained in:
parent
bfda5805ac
commit
b34ecf5466
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ def powerbar_control(powerbar, outlet, action):
|
||||||
print(f"Telnet error: {e}")
|
print(f"Telnet error: {e}")
|
||||||
abort(500)
|
abort(500)
|
||||||
|
|
||||||
return "200"
|
return action
|
||||||
|
|
||||||
|
|
||||||
@routes.route('/<string:powerbar>/<int:outlet>/state')
|
@routes.route('/<string:powerbar>/<int:outlet>/state')
|
||||||
|
|
Loading…
Reference in a new issue