Don't require actor

This commit is contained in:
bashrc committed 2019-08-20 14:52:14 +01:00
1 parent aeab76c890
commit ddcbef2848
1 file changed
-3
-3
View File
@@ -1042,9 +1042,6 @@ def individualPostAsHtml(baseDir: str, \
actorDomain,actorPort=getDomainFromActor(postJsonObject['actor'])
announcedJson = getJson(session,postJsonObject['object'],asHeader,None,projectVersion,httpPrefix,domain)
if announcedJson:
if not announcedJson.get('actor'):
pprint(announcedJson)
return ''
if not announcedJson.get('type'):
pprint(announcedJson)
return ''