# HG changeset patch # User Paul Boddie # Date 1444232411 -7200 # Node ID 138f021c2e50716fc8a960f479f9b7516a8edac4 # Parent a32c6487cdaa82d2a48e1fde38c6feac87582ad5 Make sure that URIs are obtained for free/busy periods and when checking participation status. diff -r a32c6487cdaa -r 138f021c2e50 imiptools/data.py --- a/imiptools/data.py Tue Oct 06 18:43:29 2015 +0200 +++ b/imiptools/data.py Wed Oct 07 17:40:11 2015 +0200 @@ -276,7 +276,7 @@ only_organiser and "ORG" or self.get_value("TRANSP") or "OPAQUE", self.get_recurrenceid(), self.get_value("SUMMARY"), - self.get_value("ORGANIZER") + get_uri(self.get_value("ORGANIZER")) ) def get_participation_status(self, participant): @@ -286,8 +286,8 @@ special value "ORG" indicating organiser-only participation. """ - attendees = self.get_value_map("ATTENDEE") - organiser = self.get_value("ORGANIZER") + attendees = uri_dict(self.get_value_map("ATTENDEE")) + organiser = get_uri(self.get_value("ORGANIZER")) attendee_attr = attendees.get(participant) if attendee_attr: