minor update

This commit is contained in:
Miroslav Stampar
2012-03-28 13:46:31 +00:00
parent 7fd64df167
commit 7d131d1fb1
3 changed files with 28 additions and 12 deletions

View File

@@ -13,7 +13,7 @@ PYVERSION = sys.version.split()[0]
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)
else:
elif __name__ == "__main__":
from _sqlmap import main
# import needed for proper working of --profile switch
from lib.controller.controller import start