diff --git a/lib/core/common.py b/lib/core/common.py index 9ccd73636..b281e2676 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -2432,7 +2432,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.notString, conf.regexp, conf.tor]) + conf.nullConnection = not any((conf.data, conf.textOnly, conf.titles, conf.string, conf.notString, conf.regexp, conf.tor)) if not conf.nullConnection: debugMsg = "turning off --null-connection switch used indirectly by switch -o"