Minor update

This commit is contained in:
Miroslav Stampar 2012-10-09 14:46:45 +02:00
parent ea12ccec77
commit 8c5fb1b064

View File

@ -1923,7 +1923,7 @@ def adjustTimeDelay(lastQueryDuration, lowerStdLimit):
if candidate: if candidate:
kb.delayCandidates = [candidate] + kb.delayCandidates[:-1] kb.delayCandidates = [candidate] + kb.delayCandidates[:-1]
if all([x == candidate for x in kb.delayCandidates]) and candidate < conf.timeSec: if all((x == candidate for x in kb.delayCandidates)) and candidate < conf.timeSec:
conf.timeSec = candidate conf.timeSec = candidate
infoMsg = "adjusting time delay to " infoMsg = "adjusting time delay to "