Update simulator.py

This commit is contained in:
SpudGunMan
2024-09-18 15:54:39 -07:00
parent f7745ac556
commit 15de706fba
+3 -4
View File
@@ -9,12 +9,11 @@ projectName = "example_handler" # name of _handler function to match the functio
randomNode = False # Set to True to use random node IDs
def get_NodeID():
# get a random node ID
nodeList = [4258675309, 1212121212, 1234567890, 9876543210]
if randomNode:
nodeID = random.choice(nodeList)
if randomNode:
nodeID = random.choice(nodeList) # get a random node ID
else:
nodeID = 4258675309
nodeID = nodeList[0]
return nodeID
# # end Initialization of the tool