Skip to content

Commit

Permalink
fix bug in local task
Browse files Browse the repository at this point in the history
  • Loading branch information
FlyPythons committed Feb 5, 2018
1 parent 51cefe9 commit 9595658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DAGflow/do_DAG.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def update_task_status(tasks, stop_on_failure):
del_online_tasks()
continue
elif task.type == "local":
if not task.run_id.poll():
if task.run_id.poll() is not None:
status = task.check_done()

if not status and stop_on_failure:
Expand Down

0 comments on commit 9595658

Please sign in to comment.