mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-03-03 08:04:27 +01:00
...
This commit is contained in:
parent
bd83b0532e
commit
bc9a1eb4b8
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ def rasterize_svg(self, elem, width=0, height=0, format='PNG'):
|
|||
|
||||
def dataize_manifest(self):
|
||||
for item in self.oeb.manifest.values():
|
||||
if item.media_type == SVG_MIME:
|
||||
if item.media_type == SVG_MIME and item.data is not None:
|
||||
self.dataize_svg(item)
|
||||
|
||||
def dataize_svg(self, item, svg=None):
|
||||
|
|
|
|||
Loading…
Reference in a new issue