Going green with non empty request strings
This commit is contained in:
parent
2bbd6bac91
commit
544e0fa763
@ -67,7 +67,7 @@ class HereMapsGeocoder(Traceable):
|
||||
def geocode(self, **kwargs):
|
||||
params = {}
|
||||
for key, value in kwargs.iteritems():
|
||||
if value:
|
||||
if value and value.strip():
|
||||
params[key] = value
|
||||
if not params:
|
||||
return []
|
||||
|
Loading…
Reference in New Issue
Block a user