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.set_parameter(espeak.Parameter.Range, srange)
|
||||||
espeak.synth(html.unescape(speakerJson['name']))
|
espeak.synth(html.unescape(speakerJson['name']))
|
||||||
time.sleep(3)
|
time.sleep(3)
|
||||||
if not speakerJson['imageDescription']:
|
if not speakerJson.get('imageDescription'):
|
||||||
sayStr = speakerJson['say']
|
sayStr = speakerJson['say']
|
||||||
else:
|
else:
|
||||||
sayStr = speakerJson['say'] + '. ' + \
|
sayStr = speakerJson['say'] + '. ' + \
|
||||||
|
|
Loading…
Reference in New Issue