From 6d756a70ec4367515bf0ec9eed7ef5b45418727d Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Sat, 3 Jan 2015 21:40:21 +0100 Subject: [PATCH] Task: Fix wrong error message --- tasklib/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasklib/task.py b/tasklib/task.py index 004ed90..01a0bcc 100644 --- a/tasklib/task.py +++ b/tasklib/task.py @@ -359,7 +359,7 @@ class Task(TaskResource): def remove_annotation(self, annotation): if not self.saved: - raise Task.NotSaved("Task needs to be saved to add annotation") + raise Task.NotSaved("Task needs to be saved to remove annotation") if isinstance(annotation, TaskAnnotation): annotation = annotation['description'] -- 2.39.5