Fix of a pesky often 'statistical model' retrieval

This commit is contained in:
Miroslav Stampar
2018-06-29 23:57:20 +02:00
parent 38ea0686a8
commit e8336ecfe1
4 changed files with 7 additions and 6 deletions

View File

@@ -1162,7 +1162,7 @@ class Connect(object):
singleTimeWarnMessage(warnMsg)
warnMsg = "[%s] [WARNING] %stime-based comparison requires " % (time.strftime("%X"), "(case) " if kb.responseTimeMode else "")
warnMsg += "larger statistical model, please wait"
warnMsg += "%s statistical model, please wait" % ("larger" if len(kb.responseTimes) == 1 else "reset of")
dataToStdout(warnMsg)
while len(kb.responseTimes[kb.responseTimeMode]) < MIN_TIME_RESPONSES: