Fix XML Pretty Print

This commit is contained in:
tritoch
2017-06-13 15:24:59 -05:00
parent 39f36bee60
commit f038522634

View File

@@ -67,7 +67,7 @@ def save_errorlog(errorlog):
def save_xml(xmlstring, outfile):
with open(outfile,'w+') as xmlfile:
xmlfile.write(xmlstring)
xmlfile.write(xmlstring.encode('utf-8'))
if __name__ == '__main__':
AllSets = spoilers.get_allsets() #get AllSets from mtgjson