Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dfa426f

Browse files
committed
Minor style update
1 parent 6795b51 commit dfa426f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/option.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1371,7 +1371,7 @@ def _setHTTPUserAgent():
13711371
userAgent = random.sample(kb.userAgents or [_defaultHTTPUserAgent()], 1)[0]
13721372

13731373
infoMsg = "fetched random HTTP User-Agent header from "
1374-
infoMsg += "file '%s': %s" % (paths.USER_AGENTS, userAgent)
1374+
infoMsg += "file '%s': '%s'" % (paths.USER_AGENTS, userAgent)
13751375
logger.info(infoMsg)
13761376

13771377
conf.httpHeaders.append((HTTP_HEADER.USER_AGENT, userAgent))

0 commit comments

Comments
 (0)