forked from mirrors/bookwyrm
Checks if publisher fields is present (it isn't on works)
This commit is contained in:
parent
6755137bad
commit
9251883d77
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ class Book(BookDataModel):
|
|||
if self.languages and self.languages[0] != "English"
|
||||
else None,
|
||||
str(self.published_date.year) if self.published_date else None,
|
||||
", ".join(self.publishers),
|
||||
", ".join(self.publishers) if hasattr(self, "publishers") else None,
|
||||
]
|
||||
return ", ".join(i for i in items if i)
|
||||
|
||||
|
|
Loading…
Reference in a new issue