json option

main2
Bob Mottram 2019-10-18 12:49:44 +01:00
parent 130bd12fb5
commit 224204edff
1 changed files with 1 additions and 1 deletions

View File

@ -917,7 +917,7 @@ if args.actor:
sys.exit()
if args.json:
session = createSession(domain,port,True)
session = createSession(domain,port,False)
asHeader = {'Accept': 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"'}
testJson = getJson(session,args.json,asHeader,None,__version__,httpPrefix,None)
pprint(testJson)