From 84dee59b370e62543d4260c1ff16d4b8d7e431e6 Mon Sep 17 00:00:00 2001 From: KF7EEL Date: Sun, 22 Nov 2020 22:03:02 -0800 Subject: [PATCH] fix typo --- gps_data.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gps_data.py b/gps_data.py index e977294..3dacbd8 100644 --- a/gps_data.py +++ b/gps_data.py @@ -189,11 +189,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