Remove duplicate if statement

This commit is contained in:
Mouse Reeve 2023-08-19 15:06:57 -07:00
parent d9f6449767
commit 1e0fe6d7c8

View file

@ -380,7 +380,6 @@ class Edition(Book):
cache.delete(f"author-books-{author_id}")
# Create sort title by removing articles from title
if self.sort_title in [None, ""]:
if self.sort_title in [None, ""]:
self.sort_title = self.guess_sort_title()