Skip to content
Snippets Groups Projects
Commit 86c4ca71 authored by Campbell Barton's avatar Campbell Barton
Browse files

Fix T76736: incorrect filename in SVG, fails to load elsewhere

parent f5edd05a
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ import bpy
def export(filepath, face_data, colors, width, height, opacity):
with open(filepath, "w") as file:
with open(filepath, 'w', encoding='utf-8') as file:
for text in get_file_parts(face_data, colors, width, height, opacity):
file.write(text)
......
......@@ -23,7 +23,7 @@ from os.path import basename
from xml.sax.saxutils import escape
def export(filepath, face_data, colors, width, height, opacity):
with open(filepath, "w") as file:
with open(filepath, 'w', encoding='utf-8') as file:
for text in get_file_parts(face_data, colors, width, height, opacity):
file.write(text)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment