fix validity check in genericspeech driver

This commit is contained in:
chrys 2018-03-12 19:52:07 +01:00
parent 927da494f8
commit e654d72f51

View File

@ -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):