From 50a4be71f0b4209dd1de847bdedde44e4d451e62 Mon Sep 17 00:00:00 2001 From: Yves G Date: Thu, 8 Feb 2018 14:30:45 +0100 Subject: [PATCH] fix missing sys and conf error in pyruse-boot --- extra/bin/pyruse-boot | 1 + pyruse/main.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/extra/bin/pyruse-boot b/extra/bin/pyruse-boot index 4dc5e5f..f5aeac9 100755 --- a/extra/bin/pyruse-boot +++ b/extra/bin/pyruse-boot @@ -1,3 +1,4 @@ #!/usr/bin/python +import sys from pyruse import main main.boot(sys.argv[1]) diff --git a/pyruse/main.py b/pyruse/main.py index fb079a8..50a288c 100644 --- a/pyruse/main.py +++ b/pyruse/main.py @@ -34,6 +34,8 @@ def _doForEachJournalEntry(workflow): step = step.run(entry) def boot(modName): + _setPyrusePaths() + conf = config.Config(PYRUSE_PATHS) if "action_" in modName: module.get({"action": modName}).module.boot() elif "filter_" in modName: