main
Bob Mottram 2021-01-10 00:04:17 +00:00
parent 57e3a7b6e8
commit 56ba0f28d7
1 changed files with 4 additions and 4 deletions

View File

@ -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':