Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d48ac5 commit a7c2636Copy full SHA for a7c2636
1 file changed
lib/core/option.py
@@ -1205,13 +1205,13 @@ def __cleanupOptions():
1205
1206
# to distinguish explicit usage of --time-sec
1207
if conf.timeSec is None:
1208
- if conf.tor or conf.proxy:
+ if conf.tor:
1209
conf.timeSec = 2 * TIME_DEFAULT_DELAY
1210
kb.adjustTimeDelay = False
1211
1212
warnMsg = "increasing default value for "
1213
warnMsg += " --time-sec to %d because " % conf.timeSec
1214
- warnMsg += "%s switch used" % ("--tor" if conf.tor else "--proxy")
+ warnMsg += "--tor switch used"
1215
logger.warn(warnMsg)
1216
else:
1217
conf.timeSec = TIME_DEFAULT_DELAY
0 commit comments