forked from indymedia/epicyon
Missing object
parent
d95093810e
commit
2f85939c1d
|
@ -137,7 +137,7 @@ def updateAnnounceCollection(postFilename: str,actor: str,debug: bool) -> None:
|
||||||
postJsonObject['object']['shares']=announcementsJson
|
postJsonObject['object']['shares']=announcementsJson
|
||||||
else:
|
else:
|
||||||
if postJsonObject['object']['shares'].get('items'):
|
if postJsonObject['object']['shares'].get('items'):
|
||||||
for announceItem in postJsonObject['shares']['items']:
|
for announceItem in postJsonObject['object']['shares']['items']:
|
||||||
if announceItem.get('actor'):
|
if announceItem.get('actor'):
|
||||||
if announceItem['actor']==actor:
|
if announceItem['actor']==actor:
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue