mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-15 10:57:58 +00:00
fix: add utf-8 encoding in read-write files
This commit is contained in:
@@ -22,7 +22,8 @@ def loaded_country(def_config):
|
||||
def env_with_country_config(project_env):
|
||||
|
||||
def _mk_config(cfg):
|
||||
(project_env.project_dir / 'country_settings.yaml').write_text(dedent(cfg))
|
||||
(project_env.project_dir / 'country_settings.yaml').write_text(
|
||||
dedent(cfg), encoding='utf-8')
|
||||
|
||||
return project_env
|
||||
|
||||
|
||||
Reference in New Issue
Block a user