mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 09:10:30 +08:00
fixed valid_ugpio_view_table
This commit is contained in:
parent
7782668944
commit
e62a3bedc9
@ -101,6 +101,6 @@ def valid_ugpio_channel(arg: Any) -> str:
|
|||||||
|
|
||||||
def valid_ugpio_view_table(arg: Any) -> List[List[str]]:
|
def valid_ugpio_view_table(arg: Any) -> List[List[str]]:
|
||||||
try:
|
try:
|
||||||
return list(map(str, list(arg))) # type: ignore
|
return [list(map(str, row)) for row in list(arg)]
|
||||||
except Exception:
|
except Exception:
|
||||||
raise_error("<skipped>", "GPIO view table")
|
raise_error("<skipped>", "GPIO view table")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user