fix yet another typo

This commit is contained in:
KF7EEL 2020-12-24 13:06:03 -08:00
parent 28265db71d
commit ca5baebda4

View File

@ -146,11 +146,11 @@ def sendAprs():
AIS.sendall(str(dati[0])+">APRS,TCPIP*,qAC,"+str(CONFIG['APRS']['CALLSIGN'])+":!"+str(lat_utile)[:-2]+lat_verso+"/"+str(lon_utile)[:-1]+lon_verso+"r"+str(CONFIG['APRS']['MESSAGE'])+' RX: '+str(rx_utile)+' TX: '+str(tx_utile)) AIS.sendall(str(dati[0])+">APRS,TCPIP*,qAC,"+str(CONFIG['APRS']['CALLSIGN'])+":!"+str(lat_utile)[:-2]+lat_verso+"/"+str(lon_utile)[:-1]+lon_verso+"r"+str(CONFIG['APRS']['MESSAGE'])+' RX: '+str(rx_utile)+' TX: '+str(tx_utile))
logging.info('APRS INVIATO/APRS Sent') logging.info('APRS INVIATO/APRS Sent')
def aprs_upload(): def aprs_upload(config):
if CONFIG['APRS']['ENABLED']: if config['APRS']['ENABLED']:
if int(CONFIG['APRS']['REPORT_INTERVAL']) >= 10: if int(config['APRS']['REPORT_INTERVAL']) >= 10:
l=task.LoopingCall(sendAprs) l=task.LoopingCall(sendAprs)
l.start(int(CONFIG['APRS']['REPORT_INTERVAL'])*60) l.start(int(config['APRS']['REPORT_INTERVAL'])*60)
else: else:
l=task.LoopingCall(sendAprs) l=task.LoopingCall(sendAprs)
l.start(15*60) l.start(15*60)