aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-02-25 20:03:16 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-02-25 20:03:16 +0000
commitdf6591410980be0d625c0c06c50cbce1834cb7e1 (patch)
tree3c5cd1f675bf6be3d1518ff97e3b1659b0a3a257 /src
parent860438cfd5801b3db2416ae454bf605933b19cc6 (diff)
downloadmsec-df6591410980be0d625c0c06c50cbce1834cb7e1.tar
msec-df6591410980be0d625c0c06c50cbce1834cb7e1.tar.gz
msec-df6591410980be0d625c0c06c50cbce1834cb7e1.tar.bz2
msec-df6591410980be0d625c0c06c50cbce1834cb7e1.tar.xz
msec-df6591410980be0d625c0c06c50cbce1834cb7e1.zip
Typo fix for plugins location.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/msec/libmsec.py4
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)