summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kvmd/apps/kvmd/ugpio.py2
-rw-r--r--testenv/v2-hdmi-rpi4.override.yaml4
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