mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-29 18:53:35 +05:00
Compare commits
1 Commits
546154f4a9
...
v6.0.0-bet
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8170057434 |
@@ -126,7 +126,7 @@ def create_example_moonraker_conf(
|
|||||||
scp.read_file(target)
|
scp.read_file(target)
|
||||||
trusted_clients: List[str] = [
|
trusted_clients: List[str] = [
|
||||||
f" {'.'.join(ip)}\n",
|
f" {'.'.join(ip)}\n",
|
||||||
*scp.getval("authorization", "trusted_clients"),
|
*scp.getvals("authorization", "trusted_clients"),
|
||||||
]
|
]
|
||||||
|
|
||||||
scp.set_option("server", "port", str(port))
|
scp.set_option("server", "port", str(port))
|
||||||
|
|||||||
@@ -358,7 +358,6 @@ function get_usb_id() {
|
|||||||
unset mcu_list
|
unset mcu_list
|
||||||
sleep 1
|
sleep 1
|
||||||
mcus=$(find /dev/serial/by-id/* 2>/dev/null)
|
mcus=$(find /dev/serial/by-id/* 2>/dev/null)
|
||||||
mcus+=" $(find /dev/serial/by-path/* 2>/dev/null)"
|
|
||||||
|
|
||||||
for mcu in ${mcus}; do
|
for mcu in ${mcus}; do
|
||||||
mcu_list+=("${mcu}")
|
mcu_list+=("${mcu}")
|
||||||
|
|||||||
Reference in New Issue
Block a user