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