Commit b577321f authored by Jerome Mariette's avatar Jerome Mariette
Browse files

fixe a bug with rerun

parent 71a5fb8f
......@@ -242,9 +242,10 @@ class Workflow(threading.Thread):
"""
Only require for Threading
"""
# first init the component list within the workflow
self.init_component_nameids()
self.start_time = time.time()
# if this is the first time the workflow run
if self.start_time == None :
self.init_component_nameids()
self.start_time = time.time()
self.status = self.STATUS_STARTED
self.end_time = None
# serialize the workflow before pre processing
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment