Minimum of 10 second reading time

main
Bob Mottram 2021-03-17 10:35:40 +00:00
parent 3a83c46650
commit 806209b3b5
1 changed files with 2 additions and 1 deletions

View File

@ -1135,7 +1135,8 @@ def runDesktopClient(baseDir: str, proxyType: str, httpPrefix: str,
displayTimeSec = \
int(len(speakerJson['say']) * 60 /
readingSpeedCharsPerMin)
print('Waiting ' + str(displayTimeSec) + ' sec.')
if displayTimeSec < 10:
displayTimeSec = 10
nextCommandStr = \
_desktopWaitForCmd(displayTimeSec, debug)
print('')