forked from indymedia/epicyon
Debug
This commit is contained in:
1 parent
9d1df80bae
commit
2650a522c2
1 file changed
+2
-1
+2
-1
@@ -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'):
|
||||
|
||||
Reference in new issue
Block a user