version 0.4.104

This commit is contained in:
Kovid Goyal 2008-11-10 16:03:26 -08:00
parent d8b8834820
commit ab7bc6bc7d
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ __license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net'
__docformat__ = 'restructuredtext en' __docformat__ = 'restructuredtext en'
__appname__ = 'calibre' __appname__ = 'calibre'
__version__ = '0.4.103' __version__ = '0.4.104'
__author__ = "Kovid Goyal <kovid@kovidgoyal.net>" __author__ = "Kovid Goyal <kovid@kovidgoyal.net>"
''' '''
Various run time constants. Various run time constants.

View File

@ -792,7 +792,7 @@ class LibraryDatabase2(LibraryDatabase):
self.set_series(id, mi.series, notify=False) self.set_series(id, mi.series, notify=False)
if mi.cover_data[1] is not None: if mi.cover_data[1] is not None:
self.set_cover(id, mi.cover_data[1]) self.set_cover(id, mi.cover_data[1])
elif mi.cover is not None and os.access(mi.cover,os.R_OK): elif mi.cover is not None and os.access(mi.cover, os.R_OK):
self.set_cover(id, open(mi.cover, 'rb').read()) self.set_cover(id, open(mi.cover, 'rb').read())
if mi.tags: if mi.tags:
self.set_tags(id, mi.tags, notify=False) self.set_tags(id, mi.tags, notify=False)

View File

@ -61,7 +61,7 @@ function render_book(book) {
} }
if (tags) title += '[{0}]'.format(tags); if (tags) title += '[{0}]'.format(tags);
title += '<img style="display:none" alt="" src="get/cover/{0}" /></span>'.format(id); title += '<img style="display:none" alt="" src="get/cover/{0}" /></span>'.format(id);
title += '<p class="comments">{0}</p>'.format(comments) title += '<div class="comments">{0}</div>'.format(comments)
// Render authors cell // Render authors cell
var _authors = new Array(); var _authors = new Array();
var authors = ''; var authors = '';