diff --git a/config/config.ini b/config/config.ini index c38f8b3..3fa3989 100644 --- a/config/config.ini +++ b/config/config.ini @@ -23,8 +23,6 @@ BosMon = 0 httpRequest = 0 # for developing template-module is enabled template = 1 -#none has no function, only demo -none = 1 [MySQL] diff --git a/plugins/httpRequest/httpRequest.py b/plugins/httpRequest/httpRequest.py index b7db7d8..4d294d7 100644 --- a/plugins/httpRequest/httpRequest.py +++ b/plugins/httpRequest/httpRequest.py @@ -28,7 +28,7 @@ def run(typ,freq,data): #ConfigParser logging.debug("reading config file") try: - for key,val in globals.config.items("template"): + for key,val in globals.config.items("httpRequest"): logging.debug(" - %s = %s", key, val) except: logging.exception("cannot read config file") diff --git a/plugins/none/none.py b/plugins/none/none.py deleted file mode 100644 index dffa895..0000000 --- a/plugins/none/none.py +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/python -# -*- coding: cp1252 -*- - -import logging # Global logger -import globals # Global variables - -def run(typ,freq,data): - logging.info("Nothing to do") - \ No newline at end of file diff --git a/plugins/not/not.py b/plugins/not/not.py deleted file mode 100644 index dffa895..0000000 --- a/plugins/not/not.py +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/python -# -*- coding: cp1252 -*- - -import logging # Global logger -import globals # Global variables - -def run(typ,freq,data): - logging.info("Nothing to do") - \ No newline at end of file