mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
fixed inline list
This commit is contained in:
@@ -114,11 +114,11 @@ class _GadgetControl:
|
|||||||
"mode": "output",
|
"mode": "output",
|
||||||
"pulse": {"delay": 0},
|
"pulse": {"delay": 0},
|
||||||
}
|
}
|
||||||
config["view"]["table"].append([ # type: ignore
|
config["view"]["table"].append(InlineList([ # type: ignore
|
||||||
"#" + meta["name"],
|
"#" + meta["name"],
|
||||||
"#" + meta["func"],
|
"#" + meta["func"],
|
||||||
meta["func"],
|
meta["func"],
|
||||||
])
|
]))
|
||||||
print(yaml.dump({"kvmd": {"gpio": config}}, indent=4, Dumper=Dumper))
|
print(yaml.dump({"kvmd": {"gpio": config}}, indent=4, Dumper=Dumper))
|
||||||
|
|
||||||
def reset(self) -> None:
|
def reset(self) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user