mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-11 09:13:57 -04:00
IGN:...
This commit is contained in:
parent
e87a1159bd
commit
6d8a7ec255
@ -1907,7 +1907,7 @@ def process_file(path, options, logger=None):
|
|||||||
re.compile('$')
|
re.compile('$')
|
||||||
cq = options.chapter_attr.split(',')
|
cq = options.chapter_attr.split(',')
|
||||||
if len(cq) < 3:
|
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],
|
options.chapter_attr = [re.compile(cq[0], re.IGNORECASE), cq[1],
|
||||||
re.compile(cq[2], re.IGNORECASE)]
|
re.compile(cq[2], re.IGNORECASE)]
|
||||||
options.force_page_break = fpb
|
options.force_page_break = fpb
|
||||||
|
Loading…
x
Reference in New Issue
Block a user