2015-09-05 | Paul Boddie | raw files shortlog changelog graph | Handle an absence of cancellations when processing recurrences. | |
imiptools/handlers/person.py (file) |
1.1 --- a/imiptools/handlers/person.py Sat Sep 05 00:36:31 2015 +0200 1.2 +++ b/imiptools/handlers/person.py Sat Sep 05 01:18:46 2015 +0200 1.3 @@ -218,7 +218,7 @@ 1.4 1.5 if not self.recurrenceid: 1.6 for recurrenceid in self.store.get_recurrences(self.user, self.uid): 1.7 - if (self.uid, recurrenceid) not in cancelled: 1.8 + if not cancelled or (self.uid, recurrenceid) not in cancelled: 1.9 1.10 # Get the recurrence, add SENT-BY details to the organiser. 1.11