mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 15:04:08 +02:00
version 0.6.42
This commit is contained in:
parent
2495b1cc62
commit
673002d89c
3 changed files with 12 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
__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
|
||||
|
|
|
|||
|
|
@ -1476,13 +1476,13 @@ def add_catalog(self, path, title):
|
|||
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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue