Skip to content

Commit 4f66761

Browse files
authored
Merge pull request #152 from skogsbaer/fix-visualiztion-encoding
Read files for visualization with utf-8 encoding
2 parents 45e4ebc + a43c0a9 commit 4f66761

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytrace-generator/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ def run_script(self, filename, script_str):
428428
exit(1)
429429

430430
filename = os.path.abspath(sys.argv[1])
431-
with open(filename, "r") as f:
431+
with open(filename, "r", encoding="utf-8") as f:
432432
script_str = f.read()
433433

434434
# Add a 'pass' at the end to also get the last trace step

0 commit comments

Comments
 (0)