2015-01-31 | Paul Boddie | raw files shortlog changelog graph | Do not try and generate free/busy objects for invalid transactions. | |
imiptools/handlers/common.py (file) |
1.1 --- a/imiptools/handlers/common.py Sat Jan 31 02:16:46 2015 +0100 1.2 +++ b/imiptools/handlers/common.py Sat Jan 31 02:17:37 2015 +0100 1.3 @@ -37,7 +37,8 @@ 1.4 1.5 # Return a published object. 1.6 1.7 - return [(True, to_part("PUBLISH", calendar))] 1.8 + if calendar: 1.9 + return [(True, to_part("PUBLISH", calendar))] 1.10 1.11 def make_freebusy(self, from_organiser=True, publish=False): 1.12