fix validity check in genericspeech driver
This commit is contained in:
parent
927da494f8
commit
e654d72f51
@ -139,8 +139,6 @@ class driver(speechDriver):
|
|||||||
if utterance['text'] == '':
|
if utterance['text'] == '':
|
||||||
continue
|
continue
|
||||||
# check for valid data fields
|
# check for valid data fields
|
||||||
if not isinstance(utterance['volume'],str):
|
|
||||||
utterance['volume'] = ''
|
|
||||||
if not 'volume' in utterance:
|
if not 'volume' in utterance:
|
||||||
utterance['volume'] = ''
|
utterance['volume'] = ''
|
||||||
if not isinstance(utterance['volume'],str):
|
if not isinstance(utterance['volume'],str):
|
||||||
|
Loading…
Reference in New Issue
Block a user