mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
oops
This commit is contained in:
parent
3f550d5382
commit
17b65bbc49
@ -185,7 +185,7 @@ def to_metadata(browser, log, entry_, timeout): # {{{
|
|||||||
class GoogleBooks(Source):
|
class GoogleBooks(Source):
|
||||||
|
|
||||||
name = 'Google'
|
name = 'Google'
|
||||||
version = (1, 0, 4)
|
version = (1, 0, 5)
|
||||||
minimum_calibre_version = (2, 80, 0)
|
minimum_calibre_version = (2, 80, 0)
|
||||||
description = _('Downloads metadata and covers from Google Books')
|
description = _('Downloads metadata and covers from Google Books')
|
||||||
|
|
||||||
@ -439,8 +439,8 @@ class GoogleBooks(Source):
|
|||||||
continue
|
continue
|
||||||
ans.source_relevance = relevance
|
ans.source_relevance = relevance
|
||||||
goog = ans.identifiers['google']
|
goog = ans.identifiers['google']
|
||||||
for isbn in getattr(ans, 'all_isbns', []):
|
for isbnx in getattr(ans, 'all_isbns', []):
|
||||||
self.cache_isbn_to_identifier(isbn, goog)
|
self.cache_isbn_to_identifier(isbnx, goog)
|
||||||
if getattr(ans, 'has_google_cover', False):
|
if getattr(ans, 'has_google_cover', False):
|
||||||
self.cache_identifier_to_cover_url(
|
self.cache_identifier_to_cover_url(
|
||||||
goog, self.GOOGLE_COVER % goog
|
goog, self.GOOGLE_COVER % goog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user