Browse Source

fix missing sys and conf error in pyruse-boot

master
Yves G 3 years ago
parent
commit
50a4be71f0
2 changed files with 3 additions and 0 deletions
  1. +1
    -0
      extra/bin/pyruse-boot
  2. +2
    -0
      pyruse/main.py

+ 1
- 0
extra/bin/pyruse-boot View File

@ -1,3 +1,4 @@
#!/usr/bin/python
import sys
from pyruse import main
main.boot(sys.argv[1])

+ 2
- 0
pyruse/main.py View File

@ -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:


Loading…
Cancel
Save