mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 17:34:04 +02:00
Fix #5888 (Removing a footer when converting from pdf to epub doesn't work)
This commit is contained in:
parent
cb44c2126f
commit
ffd3b62049
1 changed files with 1 additions and 1 deletions
|
|
@ -280,7 +280,7 @@ def __call__(self, html, remove_special_chars=None):
|
|||
|
||||
if getattr(self.extra_opts, 'remove_footer', None):
|
||||
try:
|
||||
rules.insert(0
|
||||
rules.insert(0,
|
||||
(re.compile(self.extra_opts.footer_regex), lambda match : '')
|
||||
)
|
||||
except:
|
||||
|
|
|
|||
Loading…
Reference in a new issue