diff --git a/bookmarks.py b/bookmarks.py index b8d1f44d3..d881d8e3e 100644 --- a/bookmarks.py +++ b/bookmarks.py @@ -71,8 +71,8 @@ def undoBookmarksCollectionEntry(recentPostsCache: {}, return if not postJsonObject.get('object'): if debug: - pprint(postJsonObject) - print('DEBUG: post ' + objectUrl + ' has no object') + print('DEBUG: bookmarked post has no object ' + + str(postJsonObject)) return if not isinstance(postJsonObject['object'], dict): return @@ -158,11 +158,12 @@ def updateBookmarksCollection(recentPostsCache: {}, if not postJsonObject.get('object'): if debug: - pprint(postJsonObject) - print('DEBUG: post ' + objectUrl + ' has no object') + print('DEBUG: no object in bookmarked post ' + + str(postJsonObject)) return if not objectUrl.endswith('/bookmarks'): objectUrl = objectUrl + '/bookmarks' + # does this post have bookmarks on it from differenent actors? if not postJsonObject['object'].get('bookmarks'): if debug: print('DEBUG: Adding initial bookmarks to ' + objectUrl)