declare myNodeNum out of conditional

This commit is contained in:
pdxlocations
2025-01-04 15:50:02 -08:00
parent 535cecd113
commit ed54b77d17
+1 -1
View File
@@ -25,7 +25,7 @@ def on_receive(packet):
channel_number = packet['channel']
else:
channel_number = 0
myNodeNum = get_nodeNum()
myNodeNum = get_nodeNum()
if packet['to'] == myNodeNum:
if packet['from'] in globals.channel_list:
pass