[books] Fix two bugs in looking up books
This commit is contained in:
@ -172,7 +172,10 @@ class Book(LongPlayScrobblableMixin):
|
||||
author_list = []
|
||||
authors = book_dict.pop("authors")
|
||||
cover_url = book_dict.pop("cover_url")
|
||||
genres = book_dict.pop("generes")
|
||||
try:
|
||||
genres = book_dict.pop("generes")
|
||||
except:
|
||||
genres = []
|
||||
|
||||
if authors:
|
||||
for author_str in authors:
|
||||
|
||||
Reference in New Issue
Block a user