From c4a744bc9a6dd3657ed641f79a01300dcbc9fe28 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 13 Nov 2008 15:29:12 -0800 Subject: [PATCH] Fix #1264 (bug in lit-meta) --- src/calibre/ebooks/metadata/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/ebooks/metadata/__init__.py b/src/calibre/ebooks/metadata/__init__.py index 4a01a14f13..ad5b040e68 100644 --- a/src/calibre/ebooks/metadata/__init__.py +++ b/src/calibre/ebooks/metadata/__init__.py @@ -253,7 +253,7 @@ class MetaInformation(object): ans += ((' [' + self.author_sort + ']') if self.author_sort else '') + u'\n' if self.publisher: ans += u'Publisher: '+ unicode(self.publisher) + u'\n' - if self.book_producer: + if getattr(self, 'book_producer', False): ans += u'Producer : '+ unicode(self.book_producer) + u'\n' if self.category: ans += u'Category : ' + unicode(self.category) + u'\n'