From 72a9bd015b0160a3116ec33cae1fa570e76acb6c Mon Sep 17 00:00:00 2001 From: KF7EEL Date: Mon, 23 Nov 2020 12:54:44 -0800 Subject: [PATCH] fix typo again --- gps_data.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gps_data.py b/gps_data.py index 6e1895b..e1c1498 100644 --- a/gps_data.py +++ b/gps_data.py @@ -187,11 +187,11 @@ class DATA_SYSTEM(HBSYSTEM): try: # Try parse of APRS packet. If it fails, it will not upload to APRS-IS aprslib.parse(aprs_loc_packet) -## AIS = aprslib.IS(aprs_callsign, passwd=aprs_passcode,host=aprs_server, port=aprs_port) -## AIS.connect() -## AIS.sendall(aprs_loc_packet) -## AIS.close() -## logger.info('Sent APRS packet') + AIS = aprslib.IS(aprs_callsign, passwd=aprs_passcode,host=aprs_server, port=aprs_port) + AIS.connect() + AIS.sendall(aprs_loc_packet) + AIS.close() + logger.info('Sent APRS packet') except: logger.info('Failed to parse packet. Packet may be deformed. Not uploaded.') # Get callsign based on DMR ID