minor just in case update

This commit is contained in:
Miroslav Stampar 2012-03-16 09:02:17 +00:00
parent adb5fff6b2
commit 209e795369

View File

@ -306,7 +306,7 @@ class Connect:
# Get HTTP response # Get HTTP response
if hasattr(conn, 'redurl'): if hasattr(conn, 'redurl'):
page = threadData.lastRedirectMsg[1] if kb.redirectChoice == REDIRECTION.IGNORE\ page = threadData.lastRedirectMsg[1] if kb.redirectChoice == REDIRECTION.IGNORE\
else kb.originalPage if kb.redirectChoice == REDIRECTION.ORIGINAL\ else kb.pageTemplate if kb.redirectChoice == REDIRECTION.ORIGINAL\
else conn.read() else conn.read()
skipLogTraffic = kb.redirectChoice != REDIRECTION.FOLLOW skipLogTraffic = kb.redirectChoice != REDIRECTION.FOLLOW
code = conn.redcode if kb.redirectChoice != REDIRECTION.ORIGINAL else kb.originalCode code = conn.redcode if kb.redirectChoice != REDIRECTION.ORIGINAL else kb.originalCode