mirror of https://gitlab.com/bashrc2/epicyon
Less indentation
parent
db95bcb2af
commit
9d06389788
|
|
@ -164,7 +164,9 @@ def update_bookmarks_collection(recent_posts_cache: {},
|
||||||
"""Updates the bookmarks collection within a post
|
"""Updates the bookmarks collection within a post
|
||||||
"""
|
"""
|
||||||
post_json_object = load_json(post_filename)
|
post_json_object = load_json(post_filename)
|
||||||
if post_json_object:
|
if not post_json_object:
|
||||||
|
return
|
||||||
|
|
||||||
# remove any cached version of this post so that the
|
# remove any cached version of this post so that the
|
||||||
# bookmark icon is changed
|
# bookmark icon is changed
|
||||||
nickname = get_nickname_from_actor(actor)
|
nickname = get_nickname_from_actor(actor)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue