From 673002d89c0cba0492134186e5030f6e1698ee17 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 19 Feb 2010 19:50:02 -0700 Subject: [PATCH] version 0.6.42 --- Changelog.yaml | 9 +++++++++ src/calibre/constants.py | 2 +- src/calibre/library/database2.py | 4 ++-- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/Changelog.yaml b/Changelog.yaml index a4b7984a40..d8a785dd43 100644 --- a/Changelog.yaml +++ b/Changelog.yaml @@ -4,6 +4,15 @@ # for important features/bug fixes. # Also, each release can have new and improved recipes. +- version: 0.6.42 + date: 2010-02-20 + + bug fixes: + - title: "Fix regression that broke catalog generation from the Graphical User Interface in 0.6.41" + + - title: "Fix right edge of comics like Dilbert and xkcd getting cut off on the SONY reader. More generally, take page margins into account when rescaling images to fit in the selected output profile." + + - version: 0.6.41 date: 2010-02-19 diff --git a/src/calibre/constants.py b/src/calibre/constants.py index aec392a859..8b5191ee5d 100644 --- a/src/calibre/constants.py +++ b/src/calibre/constants.py @@ -2,7 +2,7 @@ __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' __appname__ = 'calibre' -__version__ = '0.6.41' +__version__ = '0.6.42' __author__ = "Kovid Goyal " import re diff --git a/src/calibre/library/database2.py b/src/calibre/library/database2.py index 1b00865361..6ccb7363ec 100644 --- a/src/calibre/library/database2.py +++ b/src/calibre/library/database2.py @@ -1476,13 +1476,13 @@ class LibraryDatabase2(LibraryDatabase): try: mi = get_metadata(stream, format) except: - import traceback - traceback.print_exc() mi = MetaInformation(title, ['calibre']) stream.seek(0) mi.title, mi.authors = title, ['calibre'] mi.tags = [_('Catalog')] mi.pubdate = mi.timestamp = utcnow() + if format == 'mobi': + mi.cover, mi.cover_data = None, (None, None) self.set_metadata(db_id, mi) self.add_format(db_id, format, stream, index_is_id=True)