[books] Fix bug in subtitle gen
All checks were successful
build / test (push) Successful in 2m5s

This commit is contained in:
2026-06-11 10:34:20 -04:00
parent 25626be3b6
commit 25c28e8335

View File

@ -184,7 +184,9 @@ class Book(LongPlayScrobblableMixin):
@property
def subtitle(self):
subtitle = self.author
subtitle = ""
if self.author:
subtitle += self.author.name
if self.issue_number and "Issue" not in str(self.title):
subtitle += " - Issue {self.issue_number}"
if self.volume_number and "Volume" not in str(self.title):