fix typo in gps_data.py

This commit is contained in:
KF7EEL 2020-12-23 16:18:29 -08:00
parent c4032ac036
commit e5697d8e2c
1 changed files with 1 additions and 1 deletions

View File

@ -333,7 +333,7 @@ class DATA_SYSTEM(HBSYSTEM):
#aprs_loc_packet = str(get_alias(int_id(_rf_src), subscriber_ids)) + '-' + ssid + '>APHBL3,TCPIP*:/' + str(datetime.datetime.utcnow().strftime("%H%M%Sh")) + str(aprs_lat) + icon_table + str(aprs_lon) + icon_icon + '/' + str(comment)
#logger.info(aprs_loc_packet)
logger.info('Lat: ' + str(lat) + ' Lon: ' + lon)
logger.info('Lat: ' + str(aprs_lat) + ' Lon: ' + str(aprs_lon))
user_settings = ast.literal_eval(os.popen('cat ./user_settings.txt').read())
if int_id(_rf_src) not in user_settings:
aprs_loc_packet = str(get_alias(int_id(_rf_src), subscriber_ids)) + '-' + str(user_ssid) + '>APHBL3,TCPIP*:/' + str(datetime.datetime.utcnow().strftime("%H%M%Sh")) + str(aprs_lat) + '/' + str(aprs_lon) + '[/' + aprs_comment + ' DMR ID: ' + str(int_id(_rf_src))