diff options
author | PSc-secunet <[email protected]> | 2023-03-08 12:33:44 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2023-03-08 14:33:44 +0300 |
commit | 4b80bd8e07a7b7ec317f5d664aee1bd5d7ae773f (patch) | |
tree | 682d9365997370b971da3cde0effef521fe046e2 /kvmd | |
parent | 97eb2e9f50ff25e1c8f73ac60d74adf30a7b0942 (diff) |
anelpwr.py: fix POST URL (#120)
Co-authored-by: Peter Schumann <[email protected]>
Diffstat (limited to 'kvmd')
-rw-r--r-- | kvmd/plugins/ugpio/anelpwr.py | 2 |
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: |