Fix progress for books with no scrobbles

This commit is contained in:
2023-03-12 16:15:20 -04:00
parent 69bdc60087
commit 34a6ac192d
2 changed files with 4 additions and 5 deletions

View File

@ -72,10 +72,6 @@ def lookup_book_from_openlibrary(title: str, author: str = None) -> dict:
return {}
top = results.get("docs")[0]
if author and author not in top["author_name"]:
logger.warn(
f"Lookup for {title} found top result with mismatched author"
)
ol_id = top.get("cover_edition_key")
ol_author_id = get_first("author_key", top)
first_sentence = ""