mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
fixed valid_ugpio_view_table
This commit is contained in:
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user