merge-requests/21/head
Bob Mottram 2021-03-04 15:03:41 +00:00
parent 087c9a3436
commit 5c22e65469
1 changed files with 2 additions and 1 deletions

View File

@ -31,6 +31,7 @@ def _waitForKeypress(timeout: int, debug: bool) -> str:
except (IOError, EOFError):
if debug:
print('Keypress Timeout')
print('Timeout')
return None
return keyPress
@ -132,5 +133,5 @@ def runSpeakerClient(baseDir: str, proxyType: str, httpPrefix: str,
prevSay = speakerJson['say']
# wait for a while, or until a key is pressed
if _waitForKeypress(30, debug):
if _waitForKeypress(10, debug):
break