From 50b1f63dcf7335212f3add36f70c23d1c4cc393b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 20 Aug 2019 13:43:12 +0100 Subject: [PATCH] Debug --- webinterface.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webinterface.py b/webinterface.py index cc2d4477..0c358996 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1036,6 +1036,9 @@ def individualPostAsHtml(baseDir: str, \ asHeader = {'Accept': 'application/activity+json; profile="https://www.w3.org/ns/activitystreams"'} announcedJson = getJson(session,postJsonObject['object'],asHeader,None,projectVersion,httpPrefix,domain) if announcedJson: + pprint(announcedJson) + if not announcedJson.get('actor'): + return '' if not announcedJson.get('type'): return '' if announcedJson['type']!='Create':