Fix #5888 (Removing a footer when converting from pdf to epub doesn't work)

This commit is contained in:
Kovid Goyal 2010-06-25 12:19:09 -06:00
parent cb44c2126f
commit ffd3b62049

View File

@ -280,7 +280,7 @@ class HTMLPreProcessor(object):
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: