# HG changeset patch # User Paul Boddie # Date 1431532351 -7200 # Node ID 6f69026c2e324ee8e18e0f01f2636508d0884dbe # Parent 328fc630a70638452b0012ee3af78e11ea872cc1 Fixed participant status testing for organisers. diff -r 328fc630a706 -r 6f69026c2e32 imiptools/handlers/__init__.py --- a/imiptools/handlers/__init__.py Wed May 13 15:40:53 2015 +0200 +++ b/imiptools/handlers/__init__.py Wed May 13 17:52:31 2015 +0200 @@ -192,7 +192,7 @@ if for_organiser or not attr or attr.get("PARTSTAT") != "DECLINED": self.update_freebusy(freebusy, periods, transp=( - for_organiser and not attr.get("PARTSTAT") and "ORG" or None)) + for_organiser and not (attr and attr.get("PARTSTAT")) and "ORG" or None)) else: self.remove_from_freebusy(freebusy)