fix validity check in genericspeech driver
This commit is contained in:
parent
e654d72f51
commit
56ea61f5fb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user