Skip to content

Commit

Permalink
Add TODO about encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
kvid committed Jul 5, 2024
1 parent 7b52adf commit 2d73818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wireviz/svgembed.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ def embed_svg_images_file(
filename_out = filename_in.with_suffix(".b64.svg")
filename_out.write_text(
embed_svg_images(filename_in.read_text(), filename_in.parent)
)
) # TODO: Use encoding="utf-8" in both read_text() and write_text()
if overwrite:
filename_out.replace(filename_in)

0 comments on commit 2d73818

Please sign in to comment.