X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/9d468f6da01ed500ef52fb100f637ee64608e0b9..15cf7dd41628e88bac30a39f6b2f0dd03f7f5312:/nominatim/tools/country_info.py?ds=inline 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