From 3c60c677158ece7422696d82af857a7aceb844a8 Mon Sep 17 00:00:00 2001 From: Sengian Date: Sun, 19 Dec 2010 15:32:30 +0100 Subject: [PATCH] Wrong copy-paste --- src/calibre/ebooks/metadata/amazon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/ebooks/metadata/amazon.py b/src/calibre/ebooks/metadata/amazon.py index c617a2beaf..941c80ac62 100644 --- a/src/calibre/ebooks/metadata/amazon.py +++ b/src/calibre/ebooks/metadata/amazon.py @@ -225,8 +225,8 @@ class Query(object): attr = getattr(e, 'args', [None]) attr = attr if attr else [None] if isinstance(attr[0], socket.timeout): - raise NiceBooksError(_('Nicebooks timed out. Try again later.')) - raise NiceBooksError(_('Nicebooks encountered an error.')) + raise AmazonError(_('Amazon timed out. Try again later.')) + raise AmazonError(_('Amazon encountered an error.')) if '404 - ' in raw: return raw = xml_to_unicode(raw, strip_encoding_pats=True,