Fix *some* unicode issues for nessus and qualys (#160)

* Fix *some* unicode issues for nessus and qualys

* More unicode fixes
This commit is contained in:
pemontto
2019-04-01 19:06:16 +11:00
committed by Quim Montal
parent 9619a47d7a
commit e32c9bf55d
2 changed files with 7 additions and 10 deletions

View File

@ -30,7 +30,7 @@ class qualysWhisperAPI(object):
def scan_xml_parser(self, xml):
all_records = []
root = ET.XML(xml)
root = ET.XML(xml.encode("utf-8"))
for child in root.find('.//SCAN_LIST'):
all_records.append({
'name': child.find('TITLE').text,