mirror of
https://github.com/pdxlocations/contact.git
synced 2026-06-23 11:30:58 +02:00
declare myNodeNum out of conditional
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user