1.1 --- a/macros/EventAggregator.py Sat Jun 25 23:50:08 2011 +0200
1.2 +++ b/macros/EventAggregator.py Sat Jun 25 23:55:42 2011 +0200
1.3 @@ -1592,7 +1592,14 @@
1.4 output.append(fmt.image(map_image_url))
1.5 output.append(fmt.number_list(on=1))
1.6
1.7 - unpositioned_events = []
1.8 + # Events with no location are unpositioned.
1.9 +
1.10 + if events_by_location.has_key(None):
1.11 + unpositioned_events = events_by_location[None]
1.12 + del events_by_location[None]
1.13 + else:
1.14 + unpositioned_events = []
1.15 +
1.16 event_locations = event_locations.items()
1.17 event_locations.sort()
1.18