From 7069ba1f4333a1dbc9de9de8ceeef8a7a66974c0 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Sun, 5 Jan 2025 17:29:00 -0800 Subject: [PATCH] Update system.py --- modules/system.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: