Returned port

main
Bob Mottram 2021-03-03 19:36:13 +00:00
parent c2e76178af
commit 19a9fe0970
1 changed files with 1 additions and 5 deletions

View File

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