mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
minor bug fix
This commit is contained in:
parent
63bc4ce116
commit
94d43a4135
2 changed files with 3 additions and 3 deletions
|
|
@ -8,9 +8,9 @@ See the file 'doc/COPYING' for copying permission
|
|||
"""
|
||||
|
||||
import codecs
|
||||
import cStringIO
|
||||
import re
|
||||
import os
|
||||
import StringIO
|
||||
import threading
|
||||
|
||||
from lib.core.common import Backend
|
||||
|
|
@ -75,7 +75,7 @@ class Dump:
|
|||
def setOutputFile(self):
|
||||
self.__outputFile = "%s%slog" % (conf.outputPath, os.sep)
|
||||
self.__outputFP = codecs.open(self.__outputFile, "ab", UNICODE_ENCODING)
|
||||
self.__outputBP = cStringIO.StringIO()
|
||||
self.__outputBP = StringIO.StringIO()
|
||||
|
||||
def getOutputFile(self):
|
||||
return self.__outputFile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue