mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-16 19:40:37 +03:00
minor fix (reading of unicode xml files)
This commit is contained in:
parent
85fcd27e2d
commit
06d8213ffd
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user