mirror of
https://git.webmeisterei.com/webmeisterei/todoist-taskwarrior.git
synced 2023-12-21 10:23:00 +01:00
Fix bug causing already imported tasks with recur to be not detected and reimported
This commit is contained in:
parent
b12676ee0e
commit
a9ff4b4ff8
@ -155,8 +155,8 @@ def migrate(ctx, interactive, sync, map_project, map_tag):
|
||||
|
||||
def check_task_exists(tid):
|
||||
""" Given a Taskwarrior ID, check if the task exists """
|
||||
taskwarrior_id, _ = taskwarrior.get_task(todoist_id=tid)
|
||||
return taskwarrior_id is not None
|
||||
_, task = taskwarrior.get_task(todoist_id=tid)
|
||||
return bool(task)
|
||||
|
||||
|
||||
def add_task(tid, name, project, tags, priority, entry, due, recur):
|
||||
|
Loading…
Reference in New Issue
Block a user