diff --git a/src/calibre/utils/img.py b/src/calibre/utils/img.py index 6280856c36..99944d2ce9 100644 --- a/src/calibre/utils/img.py +++ b/src/calibre/utils/img.py @@ -110,7 +110,7 @@ def run_optimizer(file_path, cmd, as_filter=False, input_data=None): return raw else: if as_filter: - outw.join(60.0) + outw.join(60.0), inw.join(60.0) try: sz = os.path.getsize(outfile) except EnvironmentError: