merge-requests/6/head
Bob Mottram 2019-11-19 12:52:27 +00:00
parent cce4488683
commit d683607d3c
1 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ def undoAnnounceCollectionEntry(baseDir: str,postFilename: str, \
""" """
postJsonObject=loadJson(postFilename) postJsonObject=loadJson(postFilename)
if postJsonObject: if postJsonObject:
# remove any cached version of this announce so that the like icon is changed # remove any cached version of this announce so that the announce icon is changed
nickname=getNicknameFromActor(actor) nickname=getNicknameFromActor(actor)
cachedPostFilename= \ cachedPostFilename= \
getCachedPostFilename(baseDir,nickname,domain,postJsonObject) getCachedPostFilename(baseDir,nickname,domain,postJsonObject)
@ -134,7 +134,7 @@ def updateAnnounceCollection(baseDir: str,postFilename: str, \
""" """
postJsonObject=loadJson(postFilename) postJsonObject=loadJson(postFilename)
if postJsonObject: if postJsonObject:
# remove any cached version of this announce so that the like # remove any cached version of this announce so that the announce
# icon is changed # icon is changed
nickname=getNicknameFromActor(actor) nickname=getNicknameFromActor(actor)
cachedPostFilename= \ cachedPostFilename= \