mirror of
https://github.com/enzet/map-machine.git
synced 2025-06-02 10:51:57 +02:00
Issue #89: fix encoding.
This commit is contained in:
parent
067b815100
commit
c0b4d35573
11 changed files with 18 additions and 16 deletions
|
@ -199,7 +199,9 @@ def ui(options: argparse.Namespace) -> None:
|
|||
options.ways,
|
||||
options.lifecycle,
|
||||
)
|
||||
with workspace.get_mapcss_file_path().open("w+") as output_file:
|
||||
with workspace.get_mapcss_file_path().open(
|
||||
"w+", encoding="utf-8"
|
||||
) as output_file:
|
||||
mapcss_writer.write(output_file)
|
||||
|
||||
logging.info(f"MapCSS 0.2 scheme is written to {directory}.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue