We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d2f2f8 commit 6bf1379Copy full SHA for 6bf1379
1 file changed
src/electiondata/userinterface/__init__.py
@@ -703,7 +703,7 @@ def report(
703
),
704
)
705
with open(out_path, "a") as f:
706
- f.write(out_str)
+ f.write(out_str, encoding=constants.default_encoding)
707
print(f"{et.title()} errors{and_warns} written to {out_path}")
708
709
# process name keys with only warnings (unless warnings suppressed)
@@ -730,7 +730,7 @@ def report(
730
731
732
733
734
print(f"{et.title()} warnings written to {out_path}")
735
736
# define return dictionary with reported keys set to {} and other keys preserved
0 commit comments