mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 03:23:48 +03:00
Minor bug fix
This commit is contained in:
parent
915d3441e9
commit
2840f20605
|
@ -1089,9 +1089,9 @@ def getConsoleWidth(default=80):
|
|||
return width if width else default
|
||||
|
||||
def parseXmlFile(xmlFile, handler):
|
||||
file = open(paths.GENERIC_XML)
|
||||
content = file.read()
|
||||
xfile = open(xmlFile)
|
||||
content = xfile.read()
|
||||
stream = StringIO(content)
|
||||
parse(stream, handler)
|
||||
stream.close()
|
||||
file.close()
|
||||
xfile.close()
|
||||
|
|
Loading…
Reference in New Issue
Block a user