mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-11-05 16:32:35 +01:00
Update system.py
This commit is contained in:
1 parent
c198bd30a5
commit
9cd25db5c1
1 file changed
+1
@@ -885,6 +885,7 @@ async def handleSentinel(deviceID=1):
|
||||
# async function for possibly demanding back location data
|
||||
enemySpotted = ""
|
||||
closest_nodes = get_closest_nodes(deviceID)
|
||||
print(f"Closest Nodes: {closest_nodes}")
|
||||
if closest_nodes != ERROR_FETCHING_DATA and closest_nodes:
|
||||
if closest_nodes[0]['id'] is not None:
|
||||
enemySpotted = get_name_from_number(closest_nodes[0]['id'], 'long', 1)
|
||||
|
||||
Reference in new issue
Block a user