fix typo again

This commit is contained in:
KF7EEL 2020-11-23 12:54:44 -08:00
parent 0ffd119994
commit 72a9bd015b
1 changed files with 5 additions and 5 deletions

View File

@ -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