# HG changeset patch # User Paul Boddie # Date 1319904738 -7200 # Node ID 9d1b299e07224f39292078ba2fae1188b5c7da1f # Parent dc5d6997bef7357f6ddcf874fa4fb2692f810808 Fixed location positioning where some events employing an unknown location do not position that location whereas others do (using "geo" information). diff -r dc5d6997bef7 -r 9d1b299e0722 macros/EventAggregator.py --- a/macros/EventAggregator.py Sat Oct 29 17:49:00 2011 +0200 +++ b/macros/EventAggregator.py Sat Oct 29 18:12:18 2011 +0200 @@ -1596,7 +1596,10 @@ if latitude is not None and longitude is not None: location = normalised_location - event_locations[location] = latitude, longitude + # Only remember positioned locations. + + if latitude is not None and longitude is not None: + event_locations[location] = latitude, longitude # Record events according to location.