mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
Trivial concision update
This commit is contained in:
@@ -72,7 +72,7 @@ try:
|
||||
from lib.core.settings import UNICODE_ENCODING
|
||||
from lib.core.settings import VERSION
|
||||
from lib.parse.cmdline import cmdLineParser
|
||||
from thirdparty.six import PY2
|
||||
from thirdparty import six
|
||||
except KeyboardInterrupt:
|
||||
errMsg = "user aborted"
|
||||
|
||||
@@ -170,7 +170,7 @@ def main():
|
||||
os._exitcode = 1 - (liveTest() or 0)
|
||||
else:
|
||||
from lib.controller.controller import start
|
||||
if conf.profile and PY2:
|
||||
if conf.profile and six.PY2:
|
||||
from lib.core.profiling import profile
|
||||
globals()["start"] = start
|
||||
profile()
|
||||
|
||||
Reference in New Issue
Block a user