fix(src): pylint fix
This commit is contained in:
parent
3fb3d226cc
commit
16847801fd
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ async def fetch_tasks():
|
||||||
run = task
|
run = task
|
||||||
elif task["name"] == config.task_name:
|
elif task["name"] == config.task_name:
|
||||||
run = task
|
run = task
|
||||||
if run["name"] == config.task_name:
|
if run is not None and run["name"] == config.task_name:
|
||||||
app.logger.debug("Found task '%s'\n%s", run["name"], run)
|
app.logger.debug("Found task '%s'\n%s", run["name"], run)
|
||||||
return run["url"]
|
return run["url"]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue