From 56ba0f28d715a800dbb640aa0cfb9f7c58972ab0 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 10 Jan 2021 00:04:17 +0000 Subject: [PATCH] Abandon --- posts.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/posts.py b/posts.py index 5d3759e11..988d43886 100644 --- a/posts.py +++ b/posts.py @@ -218,10 +218,10 @@ def getPersonBox(baseDir: str, session, wfRequest: {}, 'Accept': 'application/activity+json; profile="' + profileStr + '"' } if not wfRequest.get('errors'): - if len(wfRequest.items()) == 1: - for wfkey, wf in wfRequest.items(): - wfRequest = wf - print('wfRequest changed to ' + str(wfRequest)) + # if len(wfRequest.items()) == 1: + # for wfkey, wf in wfRequest.items(): + # wfRequest = wf + # print('wfRequest changed to ' + str(wfRequest)) personUrl = getUserUrl(wfRequest, sourceId) else: if nickname == 'dev':