minor cosmetics

This commit is contained in:
Miroslav Stampar 2011-01-16 23:20:52 +00:00
parent e2c821eb81
commit 2041361695

View File

@ -1610,7 +1610,7 @@ def adjustTimeDelay(lastQueryDuration, lowerStdLimit):
kb.delayCandidates = [candidate] + kb.delayCandidates[:-1]
if all([x == candidate for x in kb.delayCandidates]) and candidate < conf.timeSec:
print
warnMsg = "adjusting time delay to %d seconds" % candidate
warnMsg = "adjusting time delay to %d second%s" % (candidate, 's' if candidate > 1 else '')
logger.warn(warnMsg)
conf.timeSec = candidate