mirror of
https://github.com/enzet/map-machine.git
synced 2025-05-08 14:46:43 +02:00
Issue #89: fix cache file encoding.
This commit is contained in:
parent
9e1222d296
commit
7859677f62
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ def get_osm(
|
|||
:param to_update: update cache files
|
||||
"""
|
||||
if not to_update and cache_file_path.is_file():
|
||||
with cache_file_path.open() as output_file:
|
||||
with cache_file_path.open(encoding="utf-8") as output_file:
|
||||
return output_file.read()
|
||||
|
||||
content: bytes = get_data(
|
||||
|
|
Loading…
Add table
Reference in a new issue