[fix] return empty list for languages in country_and_languages
This commit is contained in:
@@ -474,7 +474,7 @@ class OSMCountryReverseGeocoder(OSMReverseGeocoder):
|
|||||||
if country:
|
if country:
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
return None, None
|
return None, []
|
||||||
|
|
||||||
country = country.lower()
|
country = country.lower()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user