From 1505cb2a808e1f2fa19b710e8d3c6cf1649a106c Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Fri, 12 Aug 2011 14:51:39 +0000 Subject: [PATCH] typo --- lib/request/connect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/request/connect.py b/lib/request/connect.py index 008208adc..508d67482 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -399,7 +399,7 @@ class Connect: errMsg = "not authorized, try to provide right HTTP " errMsg += "authentication type and valid credentials (%d)" % code raise sqlmapConnectionException, errMsg - elif e.code == 404 + elif e.code == 404: if raise404: errMsg = "page not found (%d)" % code raise sqlmapConnectionException, errMsg