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 isinstance(utterance, int):
|
||||||
if utterance == -1:
|
if utterance == -1:
|
||||||
return
|
return
|
||||||
|
else:
|
||||||
|
continue
|
||||||
elif not isinstance(utterance, dict):
|
elif not isinstance(utterance, dict):
|
||||||
continue
|
continue
|
||||||
# no text means nothing to speak
|
# no text means nothing to speak
|
||||||
|
Loading…
Reference in New Issue
Block a user