merge-requests/21/head
Bob Mottram 2021-03-01 20:28:47 +00:00
parent 7062c0a1c8
commit d5dc473e22
1 changed files with 1 additions and 1 deletions

View File

@ -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'] + '. ' + \