diff options
author | Devaev Maxim <[email protected]> | 2020-11-12 22:36:22 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-11-12 22:36:22 +0300 |
commit | 180251ec591245ca2025341214e255e3952184d7 (patch) | |
tree | 9d7de539934e790f8593080fbd439aa565ef7297 /kvmd/plugins/msd/relay.py | |
parent | 87cc8cf7b0e00f7f0a9badf551067aafad6da4ce (diff) |
refactoring
Diffstat (limited to 'kvmd/plugins/msd/relay.py')
-rw-r--r-- | kvmd/plugins/msd/relay.py | 4 |
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: |