Remove test code

merge-requests/30/head
Bob Mottram 2021-01-10 10:41:36 +00:00
parent 596d36d33e
commit f7c84beb2c
1 changed files with 0 additions and 9 deletions

View File

@ -1164,15 +1164,6 @@ def individualPostAsHtml(allowDownloads: bool,
cachedWebfingers,
domain, __version__)
# check for situations where the webfinger contains a single key
# which is the handle, with the webfinger content as the item
if len(postActorWf.items()) == 1:
for wfkey, wf in postActorWf.items():
print('Single webfinger key: ' + wfkey + ' ' + postActorHandle)
if wfkey == postActorHandle:
postActorWf = wf
print('wfRequest changed to ' + str(postActorWf))
avatarUrl2 = None
displayName = None
if postActorWf: