mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 17:04:39 +02:00
IGN:...
This commit is contained in:
parent
8652cff214
commit
81b027e023
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ def split(self, tree):
|
|||
self.log_debug('\t\tSplitting...')
|
||||
root = tree.getroot()
|
||||
split_point, before = self.find_split_point(root)
|
||||
if split_point is None:# or self.split_size > 6*self.orig_size:
|
||||
if split_point is None or self.split_size > 6*self.orig_size:
|
||||
if not self.always_remove:
|
||||
self.log_warn(_('\t\tToo much markup. Re-splitting without structure preservation. This may cause incorrect rendering.'))
|
||||
raise SplitError(self.path, root)
|
||||
|
|
|
|||
Loading…
Reference in a new issue