mirror of
https://github.com/enzet/map-machine.git
synced 2025-07-28 13:59:13 +02:00
Issue #89: fix encoding.
This commit is contained in:
parent
067b815100
commit
c0b4d35573
11 changed files with 18 additions and 16 deletions
|
@ -140,7 +140,7 @@ class SVGDrawing(Drawing):
|
|||
|
||||
def write(self) -> None:
|
||||
"""Write image to the SVG file."""
|
||||
with self.file_path.open("w+") as output_file:
|
||||
with self.file_path.open("w+", encoding="utf-8") as output_file:
|
||||
self.image.write(output_file)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue