diff options
author | Devaev Maxim <[email protected]> | 2020-09-10 17:48:10 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-09-10 17:48:10 +0300 |
commit | 92ba157b6758d26d21c512c6ad166f86d8b5f00d (patch) | |
tree | ca571735b8b97155baee48c13d81b5d18488e231 | |
parent | 6795430e29c5aad957316a312c7f3d2bdf5a24e1 (diff) |
changed separator
-rw-r--r-- | kvmd/apps/kvmd/ugpio.py | 2 | ||||
-rw-r--r-- | testenv/v2-hdmi-rpi4.override.yaml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/kvmd/apps/kvmd/ugpio.py b/kvmd/apps/kvmd/ugpio.py index 06c1a6e5..e6723b3e 100644 --- a/kvmd/apps/kvmd/ugpio.py +++ b/kvmd/apps/kvmd/ugpio.py @@ -328,7 +328,7 @@ class UserGpio: "text": item[1:].strip(), }) else: - parts = list(map(str.strip, item.split(",", 1))) + parts = list(map(str.strip, item.split("|", 1))) if parts: if parts[0] in self.__inputs: items.append({ diff --git a/testenv/v2-hdmi-rpi4.override.yaml b/testenv/v2-hdmi-rpi4.override.yaml index 1e6e73c3..a8f361b3 100644 --- a/testenv/v2-hdmi-rpi4.override.yaml +++ b/testenv/v2-hdmi-rpi4.override.yaml @@ -88,8 +88,8 @@ kvmd: - [] - ["#HID Relays /dev/hidraw0"] - [] - - ["#Relay #1:", "relay1,Boop 0.1"] - - ["#Relay #2:", "relay2,Boop 2.0"] + - ["#Relay #1:", "relay1|Boop 0.1"] + - ["#Relay #2:", "relay2|Boop 2.0"] vnc: keymap: /usr/share/kvmd/keymaps/ru |