mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #28. Version bump.
This commit is contained in:
parent
a06bc96269
commit
8ac579e8b5
@ -37,7 +37,7 @@ You may have to adjust the GROUP and the location of the rules file to
|
|||||||
suit your distribution.
|
suit your distribution.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
__version__ = "0.3.9"
|
__version__ = "0.3.10"
|
||||||
__docformat__ = "epytext"
|
__docformat__ = "epytext"
|
||||||
__author__ = "Kovid Goyal <kovid@kovidgoyal.net>"
|
__author__ = "Kovid Goyal <kovid@kovidgoyal.net>"
|
||||||
|
|
||||||
|
@ -190,7 +190,10 @@ class BookList(list):
|
|||||||
for attr in attrs.keys():
|
for attr in attrs.keys():
|
||||||
node.setAttributeNode(self.document.createAttribute(attr))
|
node.setAttributeNode(self.document.createAttribute(attr))
|
||||||
node.setAttribute(attr, attrs[attr])
|
node.setAttribute(attr, attrs[attr])
|
||||||
w, h, data = info["cover"]
|
try:
|
||||||
|
w, h, data = info["cover"]
|
||||||
|
except TypeError:
|
||||||
|
w, h, data = None, None, None
|
||||||
if data:
|
if data:
|
||||||
th = self.document.createElement(self.prefix + "thumbnail")
|
th = self.document.createElement(self.prefix + "thumbnail")
|
||||||
th.setAttribute("width", str(w))
|
th.setAttribute("width", str(w))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user