main
Bob Mottram 2021-01-10 10:13:10 +00:00
parent e7252a643f
commit ccc814daf5
1 changed files with 2 additions and 2 deletions

View File

@ -147,10 +147,10 @@ def _cleanHtml(rawHtml: str) -> str:
def getUserUrl(wfRequest: {}, sourceId=0) -> str:
"""Gets the actor url from a webfinger request
"""
# print('getUserUrl: ' + str(sourceId) + ' ' + str(wfRequest))
if not wfRequest.get('links'):
if sourceId == 72367:
print('getUserUrl failed to get display name for webfinger ' +
print('getUserUrl ' + str(sourceId) +
' failed to get display name for webfinger ' +
str(wfRequest))
else:
print('getUserUrl webfinger activity+json contains no links ' +