fix missing sys and conf error in pyruse-boot
parent
901da5a367
commit
50a4be71f0
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/python
|
||||
import sys
|
||||
from pyruse import main
|
||||
main.boot(sys.argv[1])
|
||||
|
|
|
@ -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…
Reference in New Issue