mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 09:10:30 +08:00
changed separator
This commit is contained in:
parent
6795430e29
commit
92ba157b67
@ -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({
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user