Minor fix

This commit is contained in:
Bernardo Damele 2009-12-31 12:34:18 +00:00
parent c1c14dabd9
commit 9c620da0a5

View File

@ -196,6 +196,9 @@ class Connect:
warnMsg += "status code, try to force the HTTP User-Agent "
warnMsg += "header with option --user-agent or -a"
else:
warnMsg = "unable to connect to the target url"
if "BadStatusLine" not in tbMsg:
warnMsg += " or proxy"