mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-11 05:14:07 +00:00
fix reset country info before loading custom data
This commit is contained in:
@@ -71,6 +71,7 @@ de:
|
|||||||
name:
|
name:
|
||||||
default: Deutschland
|
default: Deutschland
|
||||||
""")
|
""")
|
||||||
|
country_info._COUNTRY_INFO._info = None
|
||||||
country_info.setup_country_config(project_env)
|
country_info.setup_country_config(project_env)
|
||||||
assert country_info._COUNTRY_INFO._info == {'de': {'partition': 3,
|
assert country_info._COUNTRY_INFO._info == {'de': {'partition': 3,
|
||||||
'languages': [], 'names': {'name': {'default': 'Deutschland'}}}}
|
'languages': [], 'names': {'name': {'default': 'Deutschland'}}}}
|
||||||
|
|||||||
Reference in New Issue
Block a user