kopia lustrzana https://github.com/DL7AD/pecanpico9
Implemented receiver detection correctly
rodzic
c6e9775e66
commit
c8fd9598eb
|
@ -79,7 +79,10 @@ def received_data(data):
|
|||
try:
|
||||
call = m.group(1)
|
||||
aprs = m.group(3)
|
||||
receiver = args.call
|
||||
if len(m.group(2)) > 0:
|
||||
receiver = m.group(2).split(',')[-1]
|
||||
else:
|
||||
receiver = args.call
|
||||
except:
|
||||
return # message format incorrect (probably no APRS message or line cut off too short)
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue