mirror of
https://github.com/kemenril/iR-APRSISD.git
synced 2024-09-19 23:37:39 -07:00
Cleaned up some chattiness in output.
This commit is contained in:
parent
964efba308
commit
a77161399d
|
@ -151,7 +151,6 @@ def getSSID(DID):
|
||||||
#If we have a Devices section, the SSID list is static.
|
#If we have a Devices section, the SSID list is static.
|
||||||
if DID not in SSIDList:
|
if DID not in SSIDList:
|
||||||
if conf.has_section('Devices'):
|
if conf.has_section('Devices'):
|
||||||
print("No device mapping")
|
|
||||||
return None
|
return None
|
||||||
SSIDList[DID] = ''.join([Call,"-",str(SSNum)])
|
SSIDList[DID] = ''.join([Call,"-",str(SSNum)])
|
||||||
SSNum = SSNum + 1
|
SSNum = SSNum + 1
|
||||||
|
@ -228,7 +227,7 @@ def getEvents():
|
||||||
try:
|
try:
|
||||||
KML = http.open(conf['inReach']['URL']).read()
|
KML = http.open(conf['inReach']['URL']).read()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(''.join(["Error reading URL: ", conf['inReach']['URL']]))
|
print("Error reading URL: " + conf['inReach']['URL'])
|
||||||
return None
|
return None
|
||||||
try:
|
try:
|
||||||
data = xml.dom.minidom.parseString(KML).documentElement
|
data = xml.dom.minidom.parseString(KML).documentElement
|
||||||
|
|
Loading…
Reference in a new issue