Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8f36f92

Browse files
committed
minor fix
1 parent 1ed2b0e commit 8f36f92

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lib/core/testing.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
from lib.core.exception import SqlmapNotVulnerableException
3030
from lib.core.log import LOGGER_HANDLER
3131
from lib.core.option import init
32+
from lib.core.option import initOptions
3233
from lib.core.optiondict import optDict
3334
from lib.core.settings import UNICODE_ENCODING
3435
from lib.parse.cmdline import cmdLineParser
@@ -243,7 +244,8 @@ def initCase(switches=None):
243244
if key in cmdLineOptions.__dict__:
244245
cmdLineOptions.__dict__[key] = value
245246

246-
init(cmdLineOptions, True)
247+
initOptions(cmdLineOptions, True)
248+
init()
247249

248250
def cleanCase():
249251
shutil.rmtree(paths.SQLMAP_OUTPUT_PATH, True)

0 commit comments

Comments
 (0)