mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
oops
This commit is contained in:
parent
81b81b4ae8
commit
2b67c7548f
@ -866,7 +866,7 @@ class HTMLConverter(object):
|
|||||||
match = self.PAGE_BREAK_PAT.search(src)
|
match = self.PAGE_BREAK_PAT.search(src)
|
||||||
if match and not re.match('avoid', match.group(1), re.IGNORECASE):
|
if match and not re.match('avoid', match.group(1), re.IGNORECASE):
|
||||||
self.page_break_found = True
|
self.page_break_found = True
|
||||||
ncss = self.parse_css(f.read())
|
ncss = self.parse_css(src)
|
||||||
except IOError:
|
except IOError:
|
||||||
pass
|
pass
|
||||||
if ncss:
|
if ncss:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user