mirror of
https://github.com/enzet/map-machine.git
synced 2025-06-05 04:12:08 +02:00
Issue #89: fix encoding.
This commit is contained in:
parent
067b815100
commit
c0b4d35573
11 changed files with 18 additions and 16 deletions
|
@ -306,7 +306,7 @@ class Scheme:
|
|||
:param file_name: name of the scheme file with tags, colors, and tag key
|
||||
specification
|
||||
"""
|
||||
with file_name.open() as input_file:
|
||||
with file_name.open(encoding="utf-8") as input_file:
|
||||
content: dict[str, Any] = yaml.load(
|
||||
input_file.read(), Loader=yaml.FullLoader
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue