diff --git a/lib/core/option.py b/lib/core/option.py index 80dec56ee..ae22b1f21 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -836,6 +836,7 @@ def __setHTTPUserAgent(): * A random value read from a list of User-Agent headers from a file choosed as user option """ + if conf.agent: debugMsg = "setting the HTTP User-Agent header" logger.debug(debugMsg)