Browse Source

fix build

Rafał Pitoń 8 years ago
parent
commit
27d478b727
1 changed files with 1 additions and 1 deletions
  1. 1 1
      misago/threads/views/admin/attachments.py

+ 1 - 1
misago/threads/views/admin/attachments.py

@@ -54,7 +54,7 @@ class AttachmentsList(AttachmentAdmin, generic.ListView):
 
         if desynced_posts:
             with transaction.atomic():
-                for post in Post.objects().filter(id__in=desynced_posts):
+                for post in Post.objects.filter(id__in=desynced_posts):
                     self.delete_from_cache(post, deleted_attachments)
 
         for attachment in attachments: