mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-27 11:15:40 +01:00
...
This commit is contained in:
parent
1df5b8d08a
commit
55703f26a9
3 changed files with 224 additions and 7180 deletions
7401
imgsrc/plugboard.svg
7401
imgsrc/plugboard.svg
File diff suppressed because it is too large
Load diff
|
Before Width: | Height: | Size: 209 KiB After Width: | Height: | Size: 14 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 13 KiB |
|
|
@ -19,6 +19,7 @@
|
|||
from calibre.constants import DEBUG
|
||||
|
||||
class Worker(Thread):
|
||||
'Cover downloader'
|
||||
|
||||
def __init__(self):
|
||||
Thread.__init__(self)
|
||||
|
|
@ -88,7 +89,7 @@ def _run(self):
|
|||
if mi.isbn:
|
||||
args['isbn'] = mi.isbn
|
||||
else:
|
||||
if not mi.title or mi.title == _('Unknown'):
|
||||
if mi.is_null('title'):
|
||||
self.failures[id] = \
|
||||
(str(id), _('Book has neither title nor ISBN'))
|
||||
continue
|
||||
|
|
|
|||
Loading…
Reference in a new issue