From e5adf6471966c92a6f3f91179b7bb31016a5384d Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Sun, 5 Apr 2015 21:27:27 +0200 Subject: [PATCH] cache: load_tasks: Do not pre-load tasks without uuid --- taskwiki/cache.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/taskwiki/cache.py b/taskwiki/cache.py index baa7479..4567f8e 100644 --- a/taskwiki/cache.py +++ b/taskwiki/cache.py @@ -157,6 +157,9 @@ class TaskCache(object): tw = self.warriors[match.group('source') or 'default'] uuid = match.group('uuid') + if not uuid: + continue + raw_task_info.append((uuid, tw)) for tw in self.warriors.values():