From 81b027e0234dd3591e2dca0372b0c04c0ec7b98e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 24 Sep 2008 16:51:34 -0700 Subject: [PATCH] IGN:... --- src/calibre/ebooks/epub/split.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/ebooks/epub/split.py b/src/calibre/ebooks/epub/split.py index 0fbcac4bec..680a7e3e93 100644 --- a/src/calibre/ebooks/epub/split.py +++ b/src/calibre/ebooks/epub/split.py @@ -82,7 +82,7 @@ class Splitter(LoggingInterface): 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)