mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-22 09:31:08 +00:00
Remove duplicate if statement
This commit is contained in:
parent
d9f6449767
commit
1e0fe6d7c8
1 changed files with 1 additions and 2 deletions
|
@ -381,8 +381,7 @@ class Edition(Book):
|
|||
|
||||
# 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()
|
||||
self.sort_title = self.guess_sort_title()
|
||||
|
||||
return super().save(*args, **kwargs)
|
||||
|
||||
|
|
Loading…
Reference in a new issue