fix typo
This commit is contained in:
parent
696e0bc128
commit
84dee59b37
10
gps_data.py
10
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
|
||||
|
Loading…
Reference in New Issue
Block a user