summaryrefslogtreecommitdiffstats
path: root/wallace/modules.py
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-03-04 14:19:10 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-03-04 14:19:10 +0100
commite1b881c2ce79a1dfa102cb2c5f8167f7805c08be (patch)
treea3f1671feab4f0fdab0de45919fe5c78d20a75e0 /wallace/modules.py
parentb8e3042daddd8a77d97080ed61eb0f135817ce79 (diff)
downloadpykolab-e1b881c2ce79a1dfa102cb2c5f8167f7805c08be.tar.gz
Make sure correct filepaths are returned and returned again, so that
multiple modules can be executed
Diffstat (limited to 'wallace/modules.py')
-rw-r--r--wallace/modules.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wallace/modules.py b/wallace/modules.py
index b3de82e..461c41b 100644
--- a/wallace/modules.py
+++ b/wallace/modules.py
@@ -113,7 +113,7 @@ def execute(name, *args, **kw):
log.error(_("No such module %r in modules %r (2).") %(name, modules))
sys.exit(1)
- modules[name]['function'](*args, **kw)
+ return modules[name]['function'](*args, **kw)
def cb_action_HOLD(module, filepath):
log.info(_("Holding message in queue for manual review (%s by %s)") % (filepath, module))