Skip to content
Snippets Groups Projects
Commit 8b79e411 authored by Bruno Nocera Zanette's avatar Bruno Nocera Zanette
Browse files

Fix typo on open file function


Fixed a typo on open file function

Signed-off-by: default avatarBruno Nocera Zanette <brunonzanette@gmail.com>
parent 964d4067
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,7 @@ import queries_definition as qry ...@@ -33,7 +33,7 @@ import queries_definition as qry
#--------------------------------------------------------------------# #--------------------------------------------------------------------#
def open_xml_file (xml_filename): def open_xml_file (xml_filename):
xml_file = codecs.open(xml_filename,'w',encoding='utf-8') xml_file = codecs.open(xml_filename,'w',encoding='utf-8')
xml_file.write("<?xml version=\"1.0\" encoding=\"UTF-8\"?") xml_file.write("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n")
return xml_file return xml_file
#--------------------------------------------------------------------# #--------------------------------------------------------------------#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment