[fix] format of candidate_languages in the new OSM rtree

This commit is contained in:
Al
2016-10-05 03:12:07 -04:00
parent bb32253689
commit 432f9dd42e
3 changed files with 20 additions and 16 deletions

View File

@@ -35,7 +35,7 @@ class MetroStationReverseGeocoder(PointIndex):
'wikipedia:*',
])
def nearest_metro(self, lat, lon, n=1, language_rtree=None):
def nearest_metro(self, lat, lon, n=1):
nearest = self.nearest_point(lat, lon)
if not nearest:
return None