mirror of
https://github.com/Andre0512/pyhOn.git
synced 2024-01-19 02:50:44 +00:00
Fix missing command attribute
This commit is contained in:
parent
6c3da96a03
commit
6d40e73881
|
@ -112,7 +112,6 @@ async def main():
|
|||
attr = "get" if args.get("all") else "pop"
|
||||
key_print(data["attributes"].__getattribute__(attr)("parameters"))
|
||||
key_print(data.__getattribute__(attr)("appliance"))
|
||||
key_print(data.__getattribute__(attr)("commands"))
|
||||
key_print(data)
|
||||
pretty_print(create_command(device.commands, concat=True))
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue