Update simulator.py

This commit is contained in:
SpudGunMan
2024-10-02 14:51:46 -07:00
parent 6431b45769
commit e75ef3e44d
+1 -1
View File
@@ -51,7 +51,7 @@ if __name__ == '__main__': # represents the bot's main loop
packet = input(f"CLIENT {nodeID} INPUT: " ) # Emulate the client input
if packet != "":
#try:
projectResponse = globals()[projectName](nodeID, packet) # Call the project handler under test
projectResponse = globals()[projectName](nodeID, deviceID=nodeInt, message=packet) # Call the project handler under test
# except Exception as e:
# logger.error(f"System: Handler: {e}")
# projectResponse = "Error in handler"