mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2025-12-06 07:42:03 +01:00
little change in Plugin config reading
This commit is contained in:
parent
1a5c71b4e8
commit
22b4771247
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue