use SSID_1 to login to APRS

This commit is contained in:
Eric D. Brown 2021-03-27 11:55:42 -06:00
parent 0fea87d766
commit 85cdeeaa3a

View file

@ -26,7 +26,7 @@ from optparse import OptionParser
#Name of our configuration file.
cf = "ir-aprsisd.cfg"
cf = "ir-aprsisd_edb.cfg"
#Configuration
conf = configparser.ConfigParser()
@ -108,7 +108,7 @@ urllib.request.install_opener(http)
def reconnect():
global AIS
while True:
AIS = aprslib.IS(conf['APRS']['SSID'],passwd=int(conf['APRS']['Password']),port=int(conf['APRS']['Port']))
AIS = aprslib.IS(conf['APRS']['SSID_1'],passwd=int(conf['APRS']['Password']),port=int(conf['APRS']['Port']))
try:
AIS.connect()
break