mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 03:13:36 +02:00
PML Input: image_name is unnecessary.
This commit is contained in:
parent
073bab8468
commit
990f4f3bc4
1 changed files with 1 additions and 2 deletions
|
|
@ -13,7 +13,6 @@
|
|||
|
||||
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 @@ def parse_pml(self, pml, file_name=''):
|
|||
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…
Reference in a new issue