Beautify code
This commit is contained in:
parent
049c8e8657
commit
82a7477d37
@ -26,7 +26,8 @@ class MapzenGeocoder(Traceable):
|
||||
def geocode(self, searchtext, city=None, state_province=None,
|
||||
country=None, search_type=None):
|
||||
|
||||
if search_type.lower() == 'address': #remove the search_type if its address from the params sent to mapzen
|
||||
# Remove the search_type if its address from the params sent to mapzen
|
||||
if search_type.lower() == 'address':
|
||||
search_type = None
|
||||
|
||||
request_params = self._build_requests_parameters(searchtext, city,
|
||||
|
Loading…
Reference in New Issue
Block a user