diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/msec/libmsec.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/msec/libmsec.py b/src/msec/libmsec.py index 197b9ef..507584d 100755 --- a/src/msec/libmsec.py +++ b/src/msec/libmsec.py @@ -724,7 +724,7 @@ class ConfigFile: # {{{ MSEC - main class class MSEC: """Main msec class. Contains all functions and performs the actions""" - def __init__(self, log, root='', plugins=PLUGINS_DIR): + def __init__(self, log, root='', plugins=config.PLUGINS_DIR): """Initializes config files and associations""" # all config files self.log = log @@ -743,7 +743,7 @@ class MSEC: # plugins self.init_plugins(plugins) - def init_plugins(self, path=PLUGINS_DIR): + def init_plugins(self, path=config.PLUGINS_DIR): """Loads msec plugins from path""" self.plugins = {} plugin_files = glob.glob("%s/*.py" % path) |