From cae4ad03d81711876a0a0016e9e26af8df9489b6 Mon Sep 17 00:00:00 2001 From: Daniele Marra <39775345+iu7igu@users.noreply.github.com> Date: Thu, 24 Dec 2020 07:12:45 +0100 Subject: [PATCH] Update hblink.py (#14) --- hblink.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hblink.py b/hblink.py index 159a5c7..1877b6e 100644 --- a/hblink.py +++ b/hblink.py @@ -141,7 +141,7 @@ def sendAprs(): rx_utile = dati[2][0:3]+'.'+dati[2][3:] tx_utile = dati[3][0:3]+'.'+dati[3][3:] - if self._config['APRS_ENABLED']: + if self._config['APRS']['ENABLED']: AIS.sendall(str(dati[0])+">APRS,TCPIP*,qAC,"+str(file_config['APRS']['CALLSIGN'])+":!"+str(lat_utile)[:-2]+lat_verso+"/"+str(lon_utile)[:-1]+lon_verso+"r"+str(file_config['APRS']['MESSAGE'])+' RX: '+str(rx_utile)+' TX: '+str(tx_utile)) logging.info('APRS INVIATO/APRS Sent') else: