fixed inline list

This commit is contained in:
Maxim Devaev 2023-08-10 00:04:46 +03:00
parent 06cae0f4e9
commit 2d881db05a

View File

@ -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: