summaryrefslogtreecommitdiff
path: root/kvmd
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-05-29 06:54:34 +0300
committerDevaev Maxim <[email protected]>2020-05-29 06:54:34 +0300
commit0ead2f45cf5edf39408909cef0c4591821781ad9 (patch)
treea9a2787ec8422e19b2ceebdbbd0b6b4560634af2 /kvmd
parentd79ed9f1be494d019543bd531bbe09e57946f438 (diff)
refactoring
Diffstat (limited to 'kvmd')
-rw-r--r--kvmd/apps/kvmd/api/wol.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/apps/kvmd/api/wol.py b/kvmd/apps/kvmd/api/wol.py
index 01f273a8..195cf640 100644
--- a/kvmd/apps/kvmd/api/wol.py
+++ b/kvmd/apps/kvmd/api/wol.py
@@ -37,10 +37,10 @@ class WolApi:
# =====
@exposed_http("GET", "/wol")
- async def __wol_state_handler(self, _: Request) -> Response:
+ async def __state_handler(self, _: Request) -> Response:
return make_json_response(self.__wol.get_state())
@exposed_http("POST", "/wol/wakeup")
- async def __wol_wakeup_handler(self, _: Request) -> Response:
+ async def __wakeup_handler(self, _: Request) -> Response:
await self.__wol.wakeup()
return make_json_response()