mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-04 22:17:24 +00:00
small change in configParser
This commit is contained in:
parent
dcc40e2288
commit
a942688775
2 changed files with 4 additions and 4 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue