This commit is contained in:
Miroslav Stampar
2019-07-18 20:32:02 +02:00
parent db90ff9c3f
commit bd1ea4fd73
2 changed files with 2 additions and 2 deletions

View File

@@ -178,7 +178,7 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
else:
numThreads = 1
if numThreads == 1 and not timeBasedCompare and not conf.predictOutput:
if conf.threads == 1 and not any((timeBasedCompare, conf.predictOutput)):
warnMsg = "running in a single-thread mode. Please consider "
warnMsg += "usage of option '--threads' for faster data retrieval"
singleTimeWarnMessage(warnMsg)