diff options
author | Maxim Devaev <[email protected]> | 2023-08-10 00:04:46 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2023-08-10 00:04:46 +0300 |
commit | 2d881db05a5fa9136d239a1424b490463d1e260d (patch) | |
tree | 85c6c812b1ba412db15f9152fa20fce6ae95b638 /kvmd/apps | |
parent | 06cae0f4e9329166b00c841e6c02ac0804c8549d (diff) |
fixed inline list
Diffstat (limited to 'kvmd/apps')
-rw-r--r-- | kvmd/apps/otgconf/__init__.py | 4 |
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: |