Fix missing command attribute

This commit is contained in:
Andre Basche 2023-03-22 23:09:48 +01:00
parent 6c3da96a03
commit 6d40e73881

View file

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