diff --git a/server/szurubooru/func/posts.py b/server/szurubooru/func/posts.py index 96d2783c..daade7c1 100644 --- a/server/szurubooru/func/posts.py +++ b/server/szurubooru/func/posts.py @@ -987,7 +987,7 @@ def get_pools_nearby( if break_loop == True: break - if post.id == pool_post.post_id: + if post.post_id == pool_post.post_id: break_loop = True prev_post_id = pool_post.post_id