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): ...@@ -242,9 +242,10 @@ class Workflow(threading.Thread):
""" """
Only require for Threading Only require for Threading
""" """
# first init the component list within the workflow # if this is the first time the workflow run
self.init_component_nameids() if self.start_time == None :
self.start_time = time.time() self.init_component_nameids()
self.start_time = time.time()
self.status = self.STATUS_STARTED self.status = self.STATUS_STARTED
self.end_time = None self.end_time = None
# serialize the workflow before pre processing # serialize the workflow before pre processing
......
Supports Markdown
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