1.1 --- a/imiptools/handlers/resource.py Mon Oct 12 17:41:06 2015 +0200
1.2 +++ b/imiptools/handlers/resource.py Mon Oct 12 17:42:03 2015 +0200
1.3 @@ -88,7 +88,7 @@
1.4 # Refuse to schedule obviously invalid requests.
1.5
1.6 except ValidityError:
1.7 - attendee_attr = self.update_participation(self.obj, "DECLINED")
1.8 + attendee_attr = self.update_participation("DECLINED")
1.9
1.10 # With a valid request, determine whether the event can be scheduled.
1.11
1.12 @@ -138,8 +138,7 @@
1.13 # Update free/busy information.
1.14
1.15 if method == "REPLY":
1.16 - attendee_attr = self.update_participation(self.obj,
1.17 - scheduled and "ACCEPTED" or "DECLINED")
1.18 + attendee_attr = self.update_participation(scheduled and "ACCEPTED" or "DECLINED")
1.19
1.20 self.update_event_in_freebusy(for_organiser=False)
1.21 self.remove_event_from_freebusy_offers()