X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/08adc748b1f9d1de752b9ad8d2d6e00264edc3f8..d529df05dcb5b2e0edd02e3632a522954fa59a09:/tasklib/task.py?ds=inline diff --git a/tasklib/task.py b/tasklib/task.py index f853bdc..0a3b74a 100644 --- a/tasklib/task.py +++ b/tasklib/task.py @@ -763,7 +763,7 @@ class Task(TaskResource): # For older TW versions attempt to uniquely locate the task # using the data we have if it has been just saved. # This can happen when adding a completed task on older TW versions. - if (not valid(output) and self.warrior.version < VERSION_2_4_4 + if (not valid(output) and self.warrior.version < VERSION_2_4_5 and after_save): # Make a copy, removing ID and UUID. It's most likely invalid