diff --git a/modules/system.py b/modules/system.py index 7856218..f2a6157 100644 --- a/modules/system.py +++ b/modules/system.py @@ -1089,10 +1089,11 @@ async def watchdog(): while True: await asyncio.sleep(20) + # check all interfaces for i in range(1, 10): interface = globals().get(f'interface{i}') retry_int = globals().get(f'retry_int{i}') - if interface is not None and not retry_int: + if interface is not None and not retry_int and globals().get(f'interface{i}_enabled'): try: firmware = getNodeFirmware(0, i) except Exception as e: