Update system.py

This commit is contained in:
SpudGunMan
2024-12-13 13:02:06 -08:00
parent 0439db2ec0
commit a087c7bb3a

View File

@@ -905,6 +905,8 @@ def get_sysinfo(nodeID=0, deviceID=1):
# Get the system telemetry data for return on the sysinfo command
sysinfo = ''
stats = displayNodeTelemetry(nodeID, deviceID) + " 🤖👀" + str(len(seenNodes))
if "numPacketsRx:0" in stats:
return "Gathering Telemetry try again later"
# replace Telemetry with Int in string
stats = stats.replace("Telemetry", "Int")
sysinfo += f"📊{stats}"