From 2650a522c2d2fe0cb758f9ff64638e53d4e5468e Mon Sep 17 00:00:00 2001 From: Bob Mottram <bob@freedombone.net> Date: Tue, 20 Aug 2019 13:28:40 +0100 Subject: [PATCH] Debug --- webinterface.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webinterface.py b/webinterface.py index 8d97aa39..5fa1834a 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1023,7 +1023,8 @@ def individualPostAsHtml(baseDir: str, \ if postJsonObject.get('object'): if isinstance(postJsonObject['object'], str): # get the announced post - asHeader = {'Accept': 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"'} + print('Getting Announce content for '+postJsonObject['object']) + asHeader = {'Accept': 'application/activity+json; profile="https://www.w3.org/ns/activitystreams"'} announcedJson = getJson(session,postJsonObject['object'],asHeader,None,projectVersion,httpPrefix,domain) if announcedJson: if not announcedJson.get('type'):