1.1 --- a/imiptools/handlers/__init__.py Wed May 13 15:40:53 2015 +0200
1.2 +++ b/imiptools/handlers/__init__.py Wed May 13 17:52:31 2015 +0200
1.3 @@ -192,7 +192,7 @@
1.4
1.5 if for_organiser or not attr or attr.get("PARTSTAT") != "DECLINED":
1.6 self.update_freebusy(freebusy, periods, transp=(
1.7 - for_organiser and not attr.get("PARTSTAT") and "ORG" or None))
1.8 + for_organiser and not (attr and attr.get("PARTSTAT")) and "ORG" or None))
1.9 else:
1.10 self.remove_from_freebusy(freebusy)
1.11