Browse Source

Fix Call Change

beta
Mike 2 years ago
committed by GitHub
parent
commit
df5d24b8ba
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      sat2aprs.py

+ 2
- 2
sat2aprs.py View File

@ -204,9 +204,9 @@ def webhook():
# Update the alias map if the new aprsCall is not in it
for number, call in alias_map.items():
if call == aprsCall:
if call == aprsCall and number == from_number:
alias_map[number] = new_aprsCall
print('Updated alias map:', alias_map)
print('Updated alias map for number {}:'.format(number), alias_map)
# If the from_number is not in the alias map, add it with the new APRS call
if from_number not in alias_map:


Loading…
Cancel
Save