mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
94b7eb174b
commit
78fcc5cd6c
@ -477,7 +477,7 @@ def merge(container, category, names, master):
|
|||||||
if len(names) < 2:
|
if len(names) < 2:
|
||||||
raise AbortError('Must specify at least two files to be merged')
|
raise AbortError('Must specify at least two files to be merged')
|
||||||
if master not in names:
|
if master not in names:
|
||||||
raise AbortError('The master file must be one of the files being merged')
|
raise AbortError('The master file (%s) must be one of the files being merged' % master)
|
||||||
|
|
||||||
if category == 'text':
|
if category == 'text':
|
||||||
merge_html(container, names, master)
|
merge_html(container, names, master)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user