changed separator

This commit is contained in:
Devaev Maxim 2020-09-10 17:48:10 +03:00
parent 6795430e29
commit 92ba157b67
2 changed files with 3 additions and 3 deletions

View File

@ -328,7 +328,7 @@ class UserGpio:
"text": item[1:].strip(), "text": item[1:].strip(),
}) })
else: else:
parts = list(map(str.strip, item.split(",", 1))) parts = list(map(str.strip, item.split("|", 1)))
if parts: if parts:
if parts[0] in self.__inputs: if parts[0] in self.__inputs:
items.append({ items.append({

View File

@ -88,8 +88,8 @@ kvmd:
- [] - []
- ["#HID Relays /dev/hidraw0"] - ["#HID Relays /dev/hidraw0"]
- [] - []
- ["#Relay #1:", "relay1,Boop 0.1"] - ["#Relay #1:", "relay1|Boop 0.1"]
- ["#Relay #2:", "relay2,Boop 2.0"] - ["#Relay #2:", "relay2|Boop 2.0"]
vnc: vnc:
keymap: /usr/share/kvmd/keymaps/ru keymap: /usr/share/kvmd/keymaps/ru