minor fix

This commit is contained in:
Miroslav Stampar
2012-04-03 12:35:19 +00:00
parent 886aa22efc
commit 7fb190f3b1
2 changed files with 3 additions and 4 deletions

View File

@@ -15,6 +15,5 @@ if PYVERSION >= "3" or PYVERSION < "2.6":
exit("[CRITICAL] incompatible Python version detected ('%s'). For successfully running sqlmap you'll have to use version 2.6 or 2.7 (visit \"http://www.python.org/download/\")" % PYVERSION)
elif __name__ == "__main__":
from _sqlmap import main
# import needed for proper working of --profile switch
from lib.controller.controller import start
from lib.controller.controller import start # needed for proper working of --profile switch
main()