mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-07-03 08:21:40 +02:00
Update mesh-bot.py
This commit is contained in:
+2
-2
@@ -173,8 +173,8 @@ def get_node_list():
|
||||
if interface.nodes:
|
||||
|
||||
for node in interface.nodes.values():
|
||||
#limit list to the last 5 nodes, and ignore own node at 0
|
||||
if node['num'] != 0:
|
||||
#limit list to the last 5 nodes, and ignore own
|
||||
if node['num'] != myNodeNum:
|
||||
node_list.append(get_name_from_number(node['num']))
|
||||
|
||||
if len(node_list) > 5:
|
||||
|
||||
Reference in New Issue
Block a user