Now version check works against Python 2.5 too

This commit is contained in:
Miroslav Stampar 2013-07-13 17:28:03 +00:00
parent f54082111d
commit a639dbbeab

View File

@ -101,7 +101,7 @@ def main():
except (SqlmapSilentQuitException, bdb.BdbQuit): except (SqlmapSilentQuitException, bdb.BdbQuit):
pass pass
except SqlmapBaseException as e: except SqlmapBaseException, e:
e = getUnicode(e) e = getUnicode(e)
logger.critical(e) logger.critical(e)
sys.exit(1) sys.exit(1)