Update system.py

This commit is contained in:
SpudGunMan
2024-07-31 22:55:40 -07:00
parent 72cd6c9209
commit b058e79766
+2 -2
View File
@@ -392,7 +392,7 @@ async def retry_interface(nodeID=1):
except Exception as e:
print(f"{log_timestamp()} System: Error opening interface1: {e}")
await asyncio.sleep(5)
retry_interface(nodeID)
await retry_interface(nodeID)
try:
if nodeID==2:
@@ -407,7 +407,7 @@ async def retry_interface(nodeID=1):
except Exception as e:
print(f"{log_timestamp()} System: Error opening interface2: {e}")
await asyncio.sleep(5)
retry_interface(nodeID)
await retry_interface(nodeID)
# this is a workaround because .localNode.getMetadata spits out a lot of debug info which cant be suppressed