mirror of https://gitlab.com/bashrc2/epicyon
Check that a name exists
parent
40afe12e1b
commit
b0330b15be
|
@ -1940,7 +1940,7 @@ if args.speaker:
|
||||||
httpPrefix,
|
httpPrefix,
|
||||||
True, __version__)
|
True, __version__)
|
||||||
if speakerJson:
|
if speakerJson:
|
||||||
if speakerJson['say'] != prevSay:
|
if speakerJson['say'] != prevSay and speakerJson.get('name'):
|
||||||
print(html.unescape(speakerJson['name']) + ': ' +
|
print(html.unescape(speakerJson['name']) + ': ' +
|
||||||
html.unescape(speakerJson['say']) + '\n')
|
html.unescape(speakerJson['say']) + '\n')
|
||||||
pitch = getSpeakerPitch(speakerJson['name'])
|
pitch = getSpeakerPitch(speakerJson['name'])
|
||||||
|
|
Loading…
Reference in New Issue