From a639dbbeabdbe9d107c7aef44c7a3f9777fcafcc Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sat, 13 Jul 2013 17:28:03 +0000 Subject: [PATCH] Now version check works against Python 2.5 too --- sqlmap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlmap.py b/sqlmap.py index 4fdcabc53..38f9f9199 100755 --- a/sqlmap.py +++ b/sqlmap.py @@ -101,7 +101,7 @@ def main(): except (SqlmapSilentQuitException, bdb.BdbQuit): pass - except SqlmapBaseException as e: + except SqlmapBaseException, e: e = getUnicode(e) logger.critical(e) sys.exit(1)