We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 404698b + ed5778e commit 5a93f70Copy full SHA for 5a93f70
1 file changed
src/electiondata/userinterface/__init__.py
@@ -702,7 +702,7 @@ def report(
702
lowercase=False,
703
),
704
)
705
- with open(out_path, "a") as f:
+ with open(out_path, "a", encoding=constants.default_encoding) as f:
706
f.write(out_str)
707
print(f"{et.title()} errors{and_warns} written to {out_path}")
708
@@ -729,7 +729,7 @@ def report(
729
730
731
732
733
734
print(f"{et.title()} warnings written to {out_path}")
735
0 commit comments