mirror of https://gitlab.com/bashrc2/epicyon
Less indentation
parent
67c6c16ef4
commit
01338dd85d
3
utils.py
3
utils.py
|
@ -898,7 +898,8 @@ def updateLikesCollection(recentPostsCache: {},
|
|||
"""Updates the likes collection within a post
|
||||
"""
|
||||
postJsonObject = loadJson(postFilename)
|
||||
if postJsonObject:
|
||||
if not postJsonObject:
|
||||
return
|
||||
# remove any cached version of this post so that the
|
||||
# like icon is changed
|
||||
nickname = getNicknameFromActor(actor)
|
||||
|
|
Loading…
Reference in New Issue