mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 17:04:39 +02:00
check for image in exact match scenario
This commit is contained in:
parent
acb26328c8
commit
112168f3f6
1 changed files with 1 additions and 1 deletions
|
|
@ -245,7 +245,7 @@ def sort_ovrdrv_results(self, raw, title=None, title_tokens=None, author=None, a
|
|||
else:
|
||||
creators = creators.split(', ')
|
||||
# if an exact match in a preferred format occurs
|
||||
if (author and creators[0] == author[0]) and od_title == title and int(formatid) in [1, 50, 410, 900]:
|
||||
if (author and creators[0] == author[0]) and od_title == title and int(formatid) in [1, 50, 410, 900] and thumbimage:
|
||||
return self.format_results(reserveid, od_title, subtitle, series, publisher,
|
||||
creators, thumbimage, worldcatlink, formatid)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue