mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
469e8304be
commit
019f885c01
3
utils.py
3
utils.py
|
|
@ -1985,7 +1985,8 @@ def updateAnnounceCollection(recentPostsCache: {},
|
|||
It's shares of posts, not shares of physical objects.
|
||||
"""
|
||||
postJsonObject = loadJson(postFilename)
|
||||
if postJsonObject:
|
||||
if not postJsonObject:
|
||||
return
|
||||
# remove any cached version of this announce so that the announce
|
||||
# icon is changed
|
||||
nickname = getNicknameFromActor(actor)
|
||||
|
|
|
|||
Loading…
Reference in New Issue