forked from indymedia/epicyon
Additional attempt to get actor
parent
4bc0d11a7c
commit
07ec81e202
4
posts.py
4
posts.py
|
@ -176,6 +176,10 @@ def getPersonBox(baseDir: str,session,wfRequest: {},personCache: {}, \
|
||||||
if not personJson:
|
if not personJson:
|
||||||
if '/channel/' in personUrl:
|
if '/channel/' in personUrl:
|
||||||
asHeader = {'Accept': 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"'}
|
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, \
|
personJson = getJson(session,personUrl,asHeader,None, \
|
||||||
projectVersion,httpPrefix,domain)
|
projectVersion,httpPrefix,domain)
|
||||||
if not personJson:
|
if not personJson:
|
||||||
|
|
Loading…
Reference in New Issue