X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/9dd632c04ce69cbaedc72ded68dc6323605b4447..829273c7a8e6cfc0b20b3f817e6e34f76a4ee35d:/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']