Remove test code

This commit is contained in:
bashrc committed 2021-01-10 10:41:36 +00:00
1 parent 596d36d33e
commit f7c84beb2c
1 file changed
-9
-9
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: