turning off null connection on -o when --tor used (not compatible)

This commit is contained in:
Miroslav Stampar 2012-05-10 17:50:54 +00:00
parent efdd86ddcc
commit b81fe42d4b

View File

@ -2367,7 +2367,7 @@ def setOptimize():
#conf.predictOutput = True
conf.keepAlive = True
conf.threads = 3 if conf.threads < 3 else conf.threads
conf.nullConnection = not any([conf.data, conf.textOnly, conf.titles, conf.string, conf.regexp])
conf.nullConnection = not any([conf.data, conf.textOnly, conf.titles, conf.string, conf.regexp, conf.tor])
if not conf.nullConnection:
debugMsg = "turning off --null-connection switch used indirectly by switch -o"