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"
|
attr = "get" if args.get("all") else "pop"
|
||||||
key_print(data["attributes"].__getattribute__(attr)("parameters"))
|
key_print(data["attributes"].__getattribute__(attr)("parameters"))
|
||||||
key_print(data.__getattribute__(attr)("appliance"))
|
key_print(data.__getattribute__(attr)("appliance"))
|
||||||
key_print(data.__getattribute__(attr)("commands"))
|
|
||||||
key_print(data)
|
key_print(data)
|
||||||
pretty_print(create_command(device.commands, concat=True))
|
pretty_print(create_command(device.commands, concat=True))
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user