mirror of https://gitlab.com/bashrc2/epicyon
Get
parent
7062c0a1c8
commit
d5dc473e22
|
@ -1951,7 +1951,7 @@ if args.speaker:
|
|||
espeak.set_parameter(espeak.Parameter.Range, srange)
|
||||
espeak.synth(html.unescape(speakerJson['name']))
|
||||
time.sleep(3)
|
||||
if not speakerJson['imageDescription']:
|
||||
if not speakerJson.get('imageDescription'):
|
||||
sayStr = speakerJson['say']
|
||||
else:
|
||||
sayStr = speakerJson['say'] + '. ' + \
|
||||
|
|
Loading…
Reference in New Issue