diff --git a/src/calibre/ebooks/tweak.py b/src/calibre/ebooks/tweak.py index 58653c012c..16301607a5 100644 --- a/src/calibre/ebooks/tweak.py +++ b/src/calibre/ebooks/tweak.py @@ -88,7 +88,7 @@ def tweak(ebook_file): fmt = ebook_file.rpartition('.')[-1].lower() exploder, rebuilder = get_tools(fmt) 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) raise SystemExit(1)