fix typo
This commit is contained in:
parent
e838fc3423
commit
0c6912c55f
@ -183,10 +183,10 @@ class DATA_SYSTEM(HBSYSTEM):
|
|||||||
try:
|
try:
|
||||||
# Try parse of APRS packet. If it fails, it will not upload to APRS-IS
|
# Try parse of APRS packet. If it fails, it will not upload to APRS-IS
|
||||||
aprslib.parse(aprs_loc_packet)
|
aprslib.parse(aprs_loc_packet)
|
||||||
## AIS = aprslib.IS(aprs_callsign, passwd=aprs_passcode,host=aprs_server, port=aprs_port)
|
AIS = aprslib.IS(aprs_callsign, passwd=aprs_passcode,host=aprs_server, port=aprs_port)
|
||||||
## AIS.connect()
|
AIS.connect()
|
||||||
## AIS.sendall(aprs_loc_packet)
|
AIS.sendall(aprs_loc_packet)
|
||||||
## AIS.close()
|
AIS.close()
|
||||||
except:
|
except:
|
||||||
logger.info('Failed to parse packet. Packet may be deformed. Not uploaded.')
|
logger.info('Failed to parse packet. Packet may be deformed. Not uploaded.')
|
||||||
# Get callsign based on DMR ID
|
# Get callsign based on DMR ID
|
||||||
|
Loading…
x
Reference in New Issue
Block a user