From 24651ed846e2f526c63421a56d7b591fab913d33 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 17 Jun 2010 10:53:37 -0600 Subject: [PATCH] Fix #5633 (Ignore unkown when searching for/downloading metadata) --- src/calibre/gui2/metadata.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/gui2/metadata.py b/src/calibre/gui2/metadata.py index daed69725c..cd4cc1be41 100644 --- a/src/calibre/gui2/metadata.py +++ b/src/calibre/gui2/metadata.py @@ -84,12 +84,12 @@ class DownloadMetadata(Thread): if mi.isbn: args['isbn'] = mi.isbn else: - if not mi.title: + if not mi.title or mi.title == _('Unknown'): self.failures[id] = \ (str(id), _('Book has neither title nor ISBN')) continue args['title'] = mi.title - if mi.authors: + if mi.authors and mi.authors[0] != _('Unknown'): args['author'] = mi.authors[0] if self.key: args['isbndb_key'] = self.key