File tree Expand file tree Collapse file tree
src/electiondata/userinterface Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -702,8 +702,8 @@ def report(
702702 lowercase = False ,
703703 ),
704704 )
705- with open (out_path , "a" ) as f :
706- f .write (out_str , encoding = constants . default_encoding )
705+ with open (out_path , "a" , encoding = constants . default_encoding ) as f :
706+ f .write (out_str )
707707 print (f"{ et .title ()} errors{ and_warns } written to { out_path } " )
708708
709709 # process name keys with only warnings (unless warnings suppressed)
@@ -729,8 +729,8 @@ def report(
729729 lowercase = False ,
730730 ),
731731 )
732- with open (out_path , "a" ) as f :
733- f .write (out_str , encoding = constants . default_encoding )
732+ with open (out_path , "a" , encoding = constants . default_encoding ) as f :
733+ f .write (out_str )
734734 print (f"{ et .title ()} warnings written to { out_path } " )
735735
736736 # define return dictionary with reported keys set to {} and other keys preserved
You can’t perform that action at this time.
0 commit comments