minor fix for --profile switch

This commit is contained in:
Miroslav Stampar 2011-11-16 16:41:22 +00:00
parent 0df768e24a
commit 2ff555bf10

View File

@ -15,4 +15,6 @@ if PYVERSION >= "3" or PYVERSION < "2.6":
exit("[CRITICAL] wrong Python version detected ('%s'). For successfully running sqlmap you have to use 2.6 <= Python < 3.0" % PYVERSION) exit("[CRITICAL] wrong Python version detected ('%s'). For successfully running sqlmap you have to use 2.6 <= Python < 3.0" % PYVERSION)
else: else:
from _sqlmap import main from _sqlmap import main
# import needed for proper working of --profile switch
from lib.controller.controller import start
main() main()