Assign subpacket correctly.

This commit is contained in:
W1CDN 2023-12-13 21:18:44 -06:00
parent c1f58966a6
commit 0592f45af8

View File

@ -79,7 +79,7 @@ def main():
# Process 3rd-party data # Process 3rd-party data
if 'subpacket' in a: if 'subpacket' in a:
a['subpacket'] = str(a['subpacket']) a['subpacket'] = str(a['subpacket'])
b = aprslib.parse(str(a['subpacket'])) b = a['subpacket']
b['party'] = 3 b['party'] = 3
b['station_call'] = config['Settings']['station_call'] b['station_call'] = config['Settings']['station_call']
b['station_lat'] = config['Settings']['station_lat'] b['station_lat'] = config['Settings']['station_lat']