mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-27 04:05:58 +00:00
Minor bug fix
This commit is contained in:
parent
915d3441e9
commit
2840f20605
1 changed files with 3 additions and 3 deletions
|
|
@ -1089,9 +1089,9 @@ def getConsoleWidth(default=80):
|
||||||
return width if width else default
|
return width if width else default
|
||||||
|
|
||||||
def parseXmlFile(xmlFile, handler):
|
def parseXmlFile(xmlFile, handler):
|
||||||
file = open(paths.GENERIC_XML)
|
xfile = open(xmlFile)
|
||||||
content = file.read()
|
content = xfile.read()
|
||||||
stream = StringIO(content)
|
stream = StringIO(content)
|
||||||
parse(stream, handler)
|
parse(stream, handler)
|
||||||
stream.close()
|
stream.close()
|
||||||
file.close()
|
xfile.close()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue