mirror of
https://github.com/enzet/map-machine.git
synced 2025-06-14 00:31:52 +02:00
Issue #89: fix encoding.
This commit is contained in:
parent
067b815100
commit
c0b4d35573
11 changed files with 18 additions and 16 deletions
|
@ -69,6 +69,6 @@ def draw_element(options: argparse.Namespace) -> None:
|
|||
point.draw_main_shapes(svg)
|
||||
point.draw_extra_shapes(svg)
|
||||
point.draw_texts(svg)
|
||||
with output_file_path.open("w+") as output_file:
|
||||
with output_file_path.open("w+", encoding="utf-8") as output_file:
|
||||
svg.write(output_file)
|
||||
logging.info(f"Element is written to {output_file_path}.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue