This commit is contained in:
Kovid Goyal 2015-02-03 09:39:58 +05:30
parent 052df2b968
commit 0b92b95637

View File

@ -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)