BanFrance: fix broken reverse (looks like the API has changed from `lng` to `lon`)
@@ -146,13 +146,13 @@ class BANFrance(Geocoder):
"""
try:
- lat, lng = self._coerce_point_to_string(query).split(',')
+ lat, lon = self._coerce_point_to_string(query).split(',')
except ValueError:
raise ValueError("Must be a coordinate pair or Point")
params = {
'lat': lat,
- 'lng': lng,
+ 'lon': lon,
}
url = "?".join((self.reverse_api, urlencode(params)))
