summaryrefslogtreecommitdiff
path: root/kvmd/plugins/msd/relay.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-11-12 22:36:22 +0300
committerDevaev Maxim <[email protected]>2020-11-12 22:36:22 +0300
commit180251ec591245ca2025341214e255e3952184d7 (patch)
tree9d7de539934e790f8593080fbd439aa565ef7297 /kvmd/plugins/msd/relay.py
parent87cc8cf7b0e00f7f0a9badf551067aafad6da4ce (diff)
refactoring
Diffstat (limited to 'kvmd/plugins/msd/relay.py')
-rw-r--r--kvmd/plugins/msd/relay.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/plugins/msd/relay.py b/kvmd/plugins/msd/relay.py
index e1e21ea9..31ef6176 100644
--- a/kvmd/plugins/msd/relay.py
+++ b/kvmd/plugins/msd/relay.py
@@ -176,10 +176,10 @@ class _Gpio:
self.__chip = gpiod.Chip(env.GPIO_DEVICE_PATH)
self.__target_line = self.__chip.get_line(self.__target_pin)
- self.__target_line.request("kvmd::msd-relay::target", gpiod.LINE_REQ_DIR_OUT, default_vals=[0])
+ self.__target_line.request("kvmd::msd::target", gpiod.LINE_REQ_DIR_OUT, default_vals=[0])
self.__reset_line = self.__chip.get_line(self.__reset_pin)
- self.__reset_line.request("kvmd::msd-relay::reset", gpiod.LINE_REQ_DIR_OUT, default_vals=[0])
+ self.__reset_line.request("kvmd::msd::reset", gpiod.LINE_REQ_DIR_OUT, default_vals=[0])
def close(self) -> None:
if self.__chip: