File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1643,15 +1643,15 @@ def write_records(self, fbpt_records_list: list) -> int:
16431643 # Add all records to the FBPT container element
16441644 for record in fbpt_records_list :
16451645 self .fbpt_tree .append (record .to_xml ())
1646-
1646+
16471647 # Now append the complete FBPT container to the main XML tree
16481648 self .xml_tree .append (self .fbpt_tree )
16491649
16501650 # Format XML properly with indentation
16511651 rough_string = ET .tostring (self .xml_tree , encoding = 'unicode' )
16521652 reparsed = minidom .parseString (rough_string )
16531653 formatted_xml = reparsed .toprettyxml (indent = " " )
1654-
1654+
16551655 with open (self .options .output_xml_file , "w" , encoding = 'utf-8' ) as xml_file :
16561656 xml_file .write (formatted_xml )
16571657
You can’t perform that action at this time.
0 commit comments