From f48c2abb06f045a0703a4041f5d65320fbb3749a Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 13 Apr 2015 14:43:35 +0530 Subject: [PATCH] ... --- src/calibre/ebooks/oeb/polish/subset.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/ebooks/oeb/polish/subset.py b/src/calibre/ebooks/oeb/polish/subset.py index 36c0ae8081..58b869115e 100644 --- a/src/calibre/ebooks/oeb/polish/subset.py +++ b/src/calibre/ebooks/oeb/polish/subset.py @@ -74,8 +74,8 @@ def subset_all_fonts(container, font_stats, report): if nlen == olen: report(_('The font %s was already subset')%font_name) else: - report(_('Decreased the font %s to %.1f%% of its original size')% - (font_name, nlen/olen * 100)) + report(_('Decreased the font {0} to {1:.1f}% of its original size').format( + font_name, nlen/olen * 100)) changed = True f.seek(0), f.truncate(), f.write(nraw)