From d529df05dcb5b2e0edd02e3632a522954fa59a09 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Fri, 7 Aug 2015 05:23:57 +0200 Subject: [PATCH] Task: Fix incorrect version number for workaround applicability --- tasklib/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2