mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-26 05:06:13 +01:00
Fix #2552 (Error when Removing First Image while converting.)
This commit is contained in:
parent
1494818cf0
commit
e162f458fd
1 changed files with 1 additions and 1 deletions
|
|
@ -92,6 +92,6 @@ def insert_metadata(self, mi):
|
|||
def __call__(self, oeb, opts, metadata):
|
||||
self.oeb, self.opts, self.log = oeb, opts, oeb.log
|
||||
if opts.remove_first_image:
|
||||
self.remove_fisrt_image()
|
||||
self.remove_first_image()
|
||||
if opts.insert_metadata:
|
||||
self.insert_metadata(metadata)
|
||||
|
|
|
|||
Loading…
Reference in a new issue