From 8f36f92dd3012fd29eea59a58a647b3f84e93365 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Tue, 29 Jan 2013 16:23:30 +0000 Subject: [PATCH] minor fix --- lib/core/testing.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/core/testing.py b/lib/core/testing.py index 0b72fd39f..54ba40fa8 100644 --- a/lib/core/testing.py +++ b/lib/core/testing.py @@ -29,6 +29,7 @@ from lib.core.exception import SqlmapBaseException from lib.core.exception import SqlmapNotVulnerableException from lib.core.log import LOGGER_HANDLER from lib.core.option import init +from lib.core.option import initOptions from lib.core.optiondict import optDict from lib.core.settings import UNICODE_ENCODING from lib.parse.cmdline import cmdLineParser @@ -243,7 +244,8 @@ def initCase(switches=None): if key in cmdLineOptions.__dict__: cmdLineOptions.__dict__[key] = value - init(cmdLineOptions, True) + initOptions(cmdLineOptions, True) + init() def cleanCase(): shutil.rmtree(paths.SQLMAP_OUTPUT_PATH, True)