mirror of https://gitlab.com/bashrc2/epicyon
Debug
parent
6b6304b595
commit
f963712ba8
|
@ -382,9 +382,12 @@ def updateSpeaker(baseDir: str, nickname: str, domain: str,
|
||||||
if announcingActor:
|
if announcingActor:
|
||||||
announcedNickname = getNicknameFromActor(announcingActor)
|
announcedNickname = getNicknameFromActor(announcingActor)
|
||||||
announcedDomain = getDomainFromActor(announcingActor)
|
announcedDomain = getDomainFromActor(announcingActor)
|
||||||
|
if announcedNickname and announcedDomain:
|
||||||
announcedHandle = announcedNickname + '@' + announcedDomain
|
announcedHandle = announcedNickname + '@' + announcedDomain
|
||||||
content = \
|
content = \
|
||||||
translate['announces'] + ' ' + announcedHandle + '. ' + content
|
translate['announces'] + ' ' + announcedHandle + '. ' + content
|
||||||
|
else:
|
||||||
|
print('WARN: announcingActor ' + str(announcingActor))
|
||||||
speakerJson = _speakerEndpointJson(speakerName, summary,
|
speakerJson = _speakerEndpointJson(speakerName, summary,
|
||||||
content, imageDescription,
|
content, imageDescription,
|
||||||
detectedLinks, gender)
|
detectedLinks, gender)
|
||||||
|
|
Loading…
Reference in New Issue