Additional attempt to get actor

main2
Bob Mottram 2019-10-21 17:20:33 +01:00
parent 4bc0d11a7c
commit 07ec81e202
1 changed files with 5 additions and 1 deletions

View File

@ -176,6 +176,10 @@ def getPersonBox(baseDir: str,session,wfRequest: {},personCache: {}, \
if not personJson:
if '/channel/' in personUrl:
asHeader = {'Accept': 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"'}
personJson = getJson(session,personUrl,asHeader,None, \
projectVersion,httpPrefix,domain)
if not personJson:
asHeader = {'Accept': 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"'}
personJson = getJson(session,personUrl,asHeader,None, \
projectVersion,httpPrefix,domain)
if not personJson: