mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
minor fix (reading of unicode xml files)
This commit is contained in:
@@ -1589,9 +1589,7 @@ def readXmlFile(xmlFile):
|
||||
"""
|
||||
|
||||
checkFile(xmlFile)
|
||||
|
||||
with codecs.open(xmlFile, 'r', UNICODE_ENCODING) as f:
|
||||
retVal = minidom.parse(f).documentElement
|
||||
retVal = minidom.parse(xmlFile).documentElement
|
||||
|
||||
return retVal
|
||||
|
||||
|
||||
Reference in New Issue
Block a user