fix validity check in genericspeech driver

This commit is contained in:
chrys 2018-03-12 19:59:05 +01:00
parent e654d72f51
commit 56ea61f5fb

View File

@ -129,6 +129,8 @@ class driver(speechDriver):
if isinstance(utterance, int):
if utterance == -1:
return
else:
continue
elif not isinstance(utterance, dict):
continue
# no text means nothing to speak