Don't require actor

master
Bob Mottram 2019-08-20 14:52:14 +01:00
parent aeab76c890
commit ddcbef2848
1 changed files with 0 additions and 3 deletions

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 ''