This commit is contained in:
Kovid Goyal 2010-09-29 17:25:59 -06:00
parent 1df5b8d08a
commit 55703f26a9
3 changed files with 224 additions and 7180 deletions

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

View File

@ -19,6 +19,7 @@ from calibre import prints
from calibre.constants import DEBUG
class Worker(Thread):
'Cover downloader'
def __init__(self):
Thread.__init__(self)
@ -88,7 +89,7 @@ class DownloadMetadata(Thread):
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