diff --git a/main.py b/main.py index 88e799b..3dbaa81 100755 --- a/main.py +++ b/main.py @@ -69,11 +69,11 @@ def main(): queue = Queue() lights = [] - for addr in args.ignition_wal_l710: + for addr in args.ignition_wal_l710 or []: lights.append(IgnitionWALL710(addr)) - for addr in args.varytec_wash_zoom_712: - lights.append(VarytecHeroWashZoom712(addr)) - for addr in args.wled: + for addr in args.varytec_wash_zoom_712 or []: + lights.append(VarytecHeroWashZoom712(addr)) + for addr in args.wled or []: lights.append(WLED(addr)) if not lights: