From 7dfcbb619fb6f4fb7db809b095041382d2284253 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Wed, 2 Oct 2024 01:39:07 -0700 Subject: [PATCH] Update simulator.py --- etc/simulator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/simulator.py b/etc/simulator.py index 4293f88..74a42af 100644 --- a/etc/simulator.py +++ b/etc/simulator.py @@ -18,8 +18,8 @@ def get_NodeID(): return nodeID def get_name_from_number(nodeID, length='short', interface=1): # return random name for nodeID - names = ["Max","Molly","Jake"] - return names[random.randint(0, len(names)-1)] + names = ["Max","Molly","Jake","Kelly"] + return names[nodeID % len(names)] # # end Initialization of the tool # # Function to handle, or the project in test