mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
PML Input: image_name is unnecessary.
This commit is contained in:
parent
073bab8468
commit
990f4f3bc4
@ -13,7 +13,6 @@ import StringIO
|
||||
|
||||
from calibre import my_unichr, prepare_string_for_xml
|
||||
from calibre.ebooks.metadata.toc import TOC
|
||||
from calibre.ebooks.pdb.ereader import image_name
|
||||
|
||||
class PML_HTMLizer(object):
|
||||
|
||||
@ -445,7 +444,7 @@ class PML_HTMLizer(object):
|
||||
elif c == 'm':
|
||||
empty = False
|
||||
src = self.code_value(line)
|
||||
text = '<img src="images/%s" />' % image_name(src).strip('\x00')
|
||||
text = '<img src="images/%s" />' % src
|
||||
elif c == 'Q':
|
||||
empty = False
|
||||
id = self.code_value(line)
|
||||
|
Loading…
x
Reference in New Issue
Block a user