Python formtting
This commit is contained in:
parent
e13ddb10d0
commit
9461784a18
|
@ -85,7 +85,7 @@ class ImportStatus(View):
|
||||||
try:
|
try:
|
||||||
task = app.AsyncResult(job.task_id)
|
task = app.AsyncResult(job.task_id)
|
||||||
# triggers attribute error if the task won't load
|
# triggers attribute error if the task won't load
|
||||||
task.status # pylint: disable=pointless-statement
|
task.status # pylint: disable=pointless-statement
|
||||||
except (ValueError, AttributeError):
|
except (ValueError, AttributeError):
|
||||||
task = None
|
task = None
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue