Less indentation

merge-requests/30/head
Bob Mottram 2022-06-09 10:44:21 +01:00
parent db95bcb2af
commit 9d06389788
1 changed files with 84 additions and 82 deletions

View File

@ -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)