small change in configParser

This commit is contained in:
JHCD 2015-05-20 17:25:22 +02:00
parent dcc40e2288
commit a942688775
2 changed files with 4 additions and 4 deletions

View file

@ -13,7 +13,7 @@ def run(typ,freq,data):
#ConfigParser
logging.debug("reading config file")
try:
for key,val in globals.config.items("BOSWatch"):
for key,val in globals.config.items("BosMon"):
logging.debug(" - %s = %s", key, val)
except:
logging.exception("cannot read config file")
@ -53,4 +53,4 @@ def run(typ,freq,data):
else:
logging.warning("undefined typ '%s'", typ)
except:
logging.exception("")
logging.exception("")

View file

@ -28,7 +28,7 @@ def run(typ,freq,data):
#ConfigParser
logging.debug("reading config file")
try:
for key,val in globals.config.items("BOSWatch"):
for key,val in globals.config.items("template"):
logging.debug(" - %s = %s", key, val)
except:
logging.exception("cannot read config file")
@ -43,4 +43,4 @@ def run(typ,freq,data):
logging.warning(typ + " not supported")
except:
logging.exception("unknown error")
logging.exception("unknown error")