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