From 6d40e73881e7697f5f90ef3f2952209427491466 Mon Sep 17 00:00:00 2001 From: Andre Basche Date: Wed, 22 Mar 2023 23:09:48 +0100 Subject: [PATCH] Fix missing command attribute --- pyhon/__main__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pyhon/__main__.py b/pyhon/__main__.py index d68babc..e5843d4 100755 --- a/pyhon/__main__.py +++ b/pyhon/__main__.py @@ -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: