Fixed further utf8 errors in the eve_api module

This commit is contained in:
2010-06-09 10:23:31 +01:00
parent 2e628d5456
commit c73ba0c148
2 changed files with 2 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ def __start_full_import():
print "Querying /eve/AllianceList.xml.aspx/"
alliance_doc = CachedDocument.objects.api_query('/eve/AllianceList.xml.aspx')
print "Parsing..."
dom = minidom.parseString(alliance_doc.body)
dom = minidom.parseString(alliance_doc.body.encode('utf-8'))
result_node_children = dom.getElementsByTagName('result')[0].childNodes
# This will hold a reference to the <rowset name="alliances> Element.