main
Bob Mottram 2021-03-03 19:32:49 +00:00
parent f963712ba8
commit abd1afd024
1 changed files with 2 additions and 1 deletions

View File

@ -383,11 +383,12 @@ def updateSpeaker(baseDir: str, nickname: str, domain: str,
announcedNickname = getNicknameFromActor(announcingActor)
announcedDomain = getDomainFromActor(announcingActor)
if announcedNickname and announcedDomain:
print('WARN: announcingActor ' + str(announcingActor))
announcedHandle = announcedNickname + '@' + announcedDomain
content = \
translate['announces'] + ' ' + announcedHandle + '. ' + content
else:
print('WARN: announcingActor ' + str(announcingActor))
print('WARN: announcingActor2 ' + str(announcingActor))
speakerJson = _speakerEndpointJson(speakerName, summary,
content, imageDescription,
detectedLinks, gender)