fixed valid_ugpio_view_table

This commit is contained in:
Devaev Maxim 2020-08-31 09:43:25 +03:00
parent 7782668944
commit e62a3bedc9

View File

@ -101,6 +101,6 @@ def valid_ugpio_channel(arg: Any) -> str:
def valid_ugpio_view_table(arg: Any) -> List[List[str]]:
try:
return list(map(str, list(arg))) # type: ignore
return [list(map(str, row)) for row in list(arg)]
except Exception:
raise_error("<skipped>", "GPIO view table")