From: Tomas Babej Date: Fri, 7 Aug 2015 03:23:57 +0000 (+0200) Subject: Task: Fix incorrect version number for workaround applicability X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/commitdiff_plain/d529df05dcb5b2e0edd02e3632a522954fa59a09 Task: Fix incorrect version number for workaround applicability --- 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