version 0.6.42

This commit is contained in:
Kovid Goyal 2010-02-19 19:50:02 -07:00
parent 2495b1cc62
commit 673002d89c
3 changed files with 12 additions and 3 deletions

View File

@ -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

View File

@ -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 <kovid@kovidgoyal.net>"
import re

View File

@ -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)