Merge pull request #431 from CartoDB/430-Fixed_encoding_problems_with_mapbox_geocoding

Fixed encoding problem with Mapbox geocoding
This commit is contained in:
Mario de Frutos
2018-01-18 17:21:20 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -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)

View File

@@ -10,7 +10,7 @@ from setuptools import setup, find_packages
setup(
name='cartodb_services',
version='0.16.0',
version='0.16.1',
description='CartoDB Services API Python Library',