summaryrefslogtreecommitdiff
path: root/kvmd/plugins
diff options
context:
space:
mode:
authorPSc-secunet <[email protected]>2023-03-08 12:33:44 +0100
committerGitHub <[email protected]>2023-03-08 14:33:44 +0300
commit4b80bd8e07a7b7ec317f5d664aee1bd5d7ae773f (patch)
tree682d9365997370b971da3cde0effef521fe046e2 /kvmd/plugins
parent97eb2e9f50ff25e1c8f73ac60d74adf30a7b0942 (diff)
anelpwr.py: fix POST URL (#120)
Co-authored-by: Peter Schumann <[email protected]>
Diffstat (limited to 'kvmd/plugins')
-rw-r--r--kvmd/plugins/ugpio/anelpwr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/plugins/ugpio/anelpwr.py b/kvmd/plugins/ugpio/anelpwr.py
index e07321df..0b8b6bc3 100644
--- a/kvmd/plugins/ugpio/anelpwr.py
+++ b/kvmd/plugins/ugpio/anelpwr.py
@@ -140,7 +140,7 @@ class Plugin(BaseUserGpioDriver): # pylint: disable=too-many-instance-attribute
session = self.__ensure_http_session()
try:
async with session.post(
- url=f"{self.__url}//ctrl.htm",
+ url=f"{self.__url}/ctrl.htm",
data=f"F{pin}={int(state)}",
headers={"Content-Type": "text/plain"},
) as response: