summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2023-08-10 00:04:46 +0300
committerMaxim Devaev <[email protected]>2023-08-10 00:04:46 +0300
commit2d881db05a5fa9136d239a1424b490463d1e260d (patch)
tree85c6c812b1ba412db15f9152fa20fce6ae95b638
parent06cae0f4e9329166b00c841e6c02ac0804c8549d (diff)
fixed inline list
-rw-r--r--kvmd/apps/otgconf/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/apps/otgconf/__init__.py b/kvmd/apps/otgconf/__init__.py
index ee0982d2..55f62033 100644
--- a/kvmd/apps/otgconf/__init__.py
+++ b/kvmd/apps/otgconf/__init__.py
@@ -114,11 +114,11 @@ class _GadgetControl:
"mode": "output",
"pulse": {"delay": 0},
}
- config["view"]["table"].append([ # type: ignore
+ config["view"]["table"].append(InlineList([ # type: ignore
"#" + meta["name"],
"#" + meta["func"],
meta["func"],
- ])
+ ]))
print(yaml.dump({"kvmd": {"gpio": config}}, indent=4, Dumper=Dumper))
def reset(self) -> None: