summaryrefslogtreecommitdiff
path: root/kvmd/apps/otgconf/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/apps/otgconf/__init__.py')
-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: