forked from indymedia/epicyon
Tidying
parent
ac38dbbb36
commit
4d5b75c982
|
@ -973,6 +973,11 @@ if args.actor:
|
||||||
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,__version__,httpPrefix,None)
|
personJson = getJson(session,personUrl,asHeader,None,__version__,httpPrefix,None)
|
||||||
|
if personJson:
|
||||||
|
pprint(personJson)
|
||||||
|
else:
|
||||||
|
asHeader = {'Accept': 'application/jrd+json; profile="https://www.w3.org/ns/activitystreams"'}
|
||||||
|
personJson = getJson(session,personUrl,asHeader,None,__version__,httpPrefix,None)
|
||||||
if personJson:
|
if personJson:
|
||||||
pprint(personJson)
|
pprint(personJson)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue