Fix remaining weird list argument error

This commit is contained in:
Jake Howard 2019-09-27 21:51:55 +01:00
parent e28f4aa6c8
commit b0a5c76055
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -47,7 +47,7 @@ def todoist_assigned_issues():
and not is_task_completed(todoist.items.get_by_id(existing_task_id))
):
logger.info("Completing task for '{}'".format(issue.title))
todoist.items.complete([existing_task_id])
todoist.items.complete(existing_task_id)
elif issue.state == "open":
if existing_task_id is None: