1.1 --- a/imipweb/event.py Thu Oct 15 23:30:41 2015 +0200
1.2 +++ b/imipweb/event.py Thu Oct 15 23:32:57 2015 +0200
1.3 @@ -676,7 +676,7 @@
1.4
1.5 # Indicate whether there are conflicting events.
1.6
1.7 - conflicts = []
1.8 + conflicts = set()
1.9 attendee_map = uri_dict(self.obj.get_value_map("ATTENDEE"))
1.10
1.11 for name, participant in uri_parts(self.get_current_attendees()):
1.12 @@ -713,8 +713,9 @@
1.13 p.transp != "ORG"
1.14 ):
1.15
1.16 - conflicts.append(p)
1.17 + conflicts.add(p)
1.18
1.19 + conflicts = list(conflicts)
1.20 conflicts.sort()
1.21
1.22 # Show any conflicts with periods of actual attendance.