bug fixes
This commit is contained in:
parent
59611dd077
commit
fbcf3d102b
2 changed files with 2 additions and 2 deletions
|
|
@ -70,7 +70,7 @@ def build_dict(hit, lat, lon):
|
|||
def do_lookup(elements, lat, lon):
|
||||
try:
|
||||
hit = osm_lookup(elements, lat, lon)
|
||||
except geocode.wkidata.QueryError as e:
|
||||
except geocode.wikidata.QueryError as e:
|
||||
return {
|
||||
"query": e.query,
|
||||
"error": e.r.text,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue