X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/3adcc3e2236cb92b6e2cb80a7cc28fb9c6803e31..0e325085d7cebbba5f301d472e83ce0ba58d1f15:/tasklib/lazy.py diff --git a/tasklib/lazy.py b/tasklib/lazy.py index 527a995..aa2c065 100644 --- a/tasklib/lazy.py +++ b/tasklib/lazy.py @@ -32,7 +32,7 @@ class LazyUUIDTask(object): return getattr(self, name) def __eq__(self, other): - if other['uuid']: + if other and other['uuid']: # For saved Tasks, just define equality by equality of uuids return self['uuid'] == other['uuid']