summaryrefslogtreecommitdiff
path: root/kvmd/validators/kvm.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-08-31 09:43:25 +0300
committerDevaev Maxim <[email protected]>2020-08-31 09:43:25 +0300
commite62a3bedc9707b17b521faec2cf2ab2473cdbaef (patch)
tree2ce67aee95b8822271ec8568615c8ec305be6973 /kvmd/validators/kvm.py
parent77826689446750021a8051b86343739e2766a368 (diff)
fixed valid_ugpio_view_table
Diffstat (limited to 'kvmd/validators/kvm.py')
-rw-r--r--kvmd/validators/kvm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/validators/kvm.py b/kvmd/validators/kvm.py
index 7ff96055..0f0e68cf 100644
--- a/kvmd/validators/kvm.py
+++ b/kvmd/validators/kvm.py
@@ -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")