From 6d8a7ec255bc43ef7724076ce27721781308f951 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 29 Dec 2008 13:02:05 -0800 Subject: [PATCH] IGN:... --- src/calibre/ebooks/lrf/html/convert_from.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/ebooks/lrf/html/convert_from.py b/src/calibre/ebooks/lrf/html/convert_from.py index 438946f1ef..fb511f0499 100644 --- a/src/calibre/ebooks/lrf/html/convert_from.py +++ b/src/calibre/ebooks/lrf/html/convert_from.py @@ -1907,7 +1907,7 @@ def process_file(path, options, logger=None): re.compile('$') cq = options.chapter_attr.split(',') if len(cq) < 3: - raise ValueError('The --chapter-attr setting must have at least 3 commas.') + raise ValueError('The --chapter-attr setting must have 2 commas.') options.chapter_attr = [re.compile(cq[0], re.IGNORECASE), cq[1], re.compile(cq[2], re.IGNORECASE)] options.force_page_break = fpb