little change in Plugin config reading

This commit is contained in:
Bastian Schroll 2015-05-20 18:50:05 +02:00
parent 1a5c71b4e8
commit 22b4771247
3 changed files with 3 additions and 3 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")

View file

@ -9,7 +9,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("MySQL"):
logging.debug(" - %s = %s", key, val)
except:
logging.exception("cannot read config file")

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")