X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/9d468f6da01ed500ef52fb100f637ee64608e0b9..8fb9795d04aec07ae9d30e6a53b59403c119729f:/nominatim/tools/country_info.py diff --git a/nominatim/tools/country_info.py b/nominatim/tools/country_info.py index ed04c2d5..0ad00171 100644 --- a/nominatim/tools/country_info.py +++ b/nominatim/tools/country_info.py @@ -131,9 +131,6 @@ def create_country_names(conn, tokenizer, languages=None): empty then only name translations for the given languages are added to the index. """ - if languages: - languages = languages.split(',') - def _include_key(key): return ':' not in key or not languages or \ key[key.index(':') + 1:] in languages