Cleaned up some chattiness in output.

This commit is contained in:
Christopher Smith 2021-04-01 04:25:09 -05:00
parent 964efba308
commit a77161399d

View file

@ -151,7 +151,6 @@ def getSSID(DID):
#If we have a Devices section, the SSID list is static.
if DID not in SSIDList:
if conf.has_section('Devices'):
print("No device mapping")
return None
SSIDList[DID] = ''.join([Call,"-",str(SSNum)])
SSNum = SSNum + 1
@ -228,7 +227,7 @@ def getEvents():
try:
KML = http.open(conf['inReach']['URL']).read()
except Exception as e:
print(''.join(["Error reading URL: ", conf['inReach']['URL']]))
print("Error reading URL: " + conf['inReach']['URL'])
return None
try:
data = xml.dom.minidom.parseString(KML).documentElement