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'] == '':
|
||||
continue
|
||||
# check for valid data fields
|
||||
if not isinstance(utterance['volume'],str):
|
||||
utterance['volume'] = ''
|
||||
if not 'volume' in utterance:
|
||||
utterance['volume'] = ''
|
||||
if not isinstance(utterance['volume'],str):
|
||||
|
Loading…
Reference in New Issue
Block a user