Issue #89: fix encoding.

This commit is contained in:
Sergey Vartanov 2021-09-25 09:12:13 +03:00
parent 067b815100
commit c0b4d35573
11 changed files with 18 additions and 16 deletions

View file

@ -361,7 +361,7 @@ class OSMData:
See https://wiki.openstreetmap.org/wiki/Overpass_API
"""
with file_name.open() as input_file:
with file_name.open(encoding="utf-8") as input_file:
structure = json.load(input_file)
node_map: dict[int, OSMNode] = {}