mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
052df2b968
commit
0b92b95637
@ -88,7 +88,7 @@ def tweak(ebook_file):
|
|||||||
fmt = ebook_file.rpartition('.')[-1].lower()
|
fmt = ebook_file.rpartition('.')[-1].lower()
|
||||||
exploder, rebuilder = get_tools(fmt)
|
exploder, rebuilder = get_tools(fmt)
|
||||||
if exploder is None:
|
if exploder is None:
|
||||||
prints('Cannot tweak %s files. Supported formats are: EPUB, HTMLZ, AZW3, MOBI'
|
prints('Cannot tweak %s files. Supported formats are: EPUB, HTMLZ, AZW3, MOBI' % fmt.upper()
|
||||||
, file=sys.stderr)
|
, file=sys.stderr)
|
||||||
raise SystemExit(1)
|
raise SystemExit(1)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user