mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
fixed inline list
This commit is contained in:
parent
06cae0f4e9
commit
2d881db05a
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user