Fixed encoding problem with Mapbox geocoding
This commit is contained in:
parent
7d8cc4ae87
commit
d442fab9da
@ -69,7 +69,7 @@ class MapboxGeocoder(Traceable):
|
||||
country = [country] if country else None
|
||||
|
||||
try:
|
||||
response = self._geocoder.forward(address=', '.join(address),
|
||||
response = self._geocoder.forward(address=', '.join(address).decode('utf-8'),
|
||||
country=country,
|
||||
limit=1)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user