Fix pylint warning

This commit is contained in:
Bart Schuurmans 2024-01-21 11:04:08 +01:00
parent 646b27b7a7
commit eb6bea013f

View file

@ -196,7 +196,6 @@ class Status(OrderedCollectionPageMixin, BookWyrmModel):
if self.mention_books.exists():
book = self.mention_books.first()
return book.preview_image or book.cover
else:
return self.user.preview_image
def to_replies(self, **kwargs):