Fix remaining weird list argument error
This commit is contained in:
parent
e28f4aa6c8
commit
b0a5c76055
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ def todoist_assigned_issues():
|
||||||
and not is_task_completed(todoist.items.get_by_id(existing_task_id))
|
and not is_task_completed(todoist.items.get_by_id(existing_task_id))
|
||||||
):
|
):
|
||||||
logger.info("Completing task for '{}'".format(issue.title))
|
logger.info("Completing task for '{}'".format(issue.title))
|
||||||
todoist.items.complete([existing_task_id])
|
todoist.items.complete(existing_task_id)
|
||||||
|
|
||||||
elif issue.state == "open":
|
elif issue.state == "open":
|
||||||
if existing_task_id is None:
|
if existing_task_id is None:
|
||||||
|
|
Reference in a new issue