diff --git a/src/calibre/ebooks/oeb/transforms/cover.py b/src/calibre/ebooks/oeb/transforms/cover.py index 1fc4b86758..65e96f1491 100644 --- a/src/calibre/ebooks/oeb/transforms/cover.py +++ b/src/calibre/ebooks/oeb/transforms/cover.py @@ -73,7 +73,7 @@ class CoverManager(object): style = 'style="height: 100%%"' else: width, height = fixed_size - style = 'style="height: %s; width: %s"'%(width, height) + style = 'style="height: %s; width: %s"'%(height, width) self.non_svg_template = self.NONSVG_TEMPLATE.replace('__style__', style)