diff --git a/src/calibre/ebooks/oeb/polish/container.py b/src/calibre/ebooks/oeb/polish/container.py index f17740424ff7..4a69c52bacd2 100644 --- a/src/calibre/ebooks/oeb/polish/container.py +++ b/src/calibre/ebooks/oeb/polish/container.py @@ -927,7 +927,7 @@ def __init__(self, pathtoepub, log, clone_data=None, tdir=None): ' more forgiving ZIP parser') from calibre.utils.localunzip import extractall stream.seek(0) - extractall(stream) + extractall(stream, path=tdir) try: os.remove(join(tdir, 'mimetype')) except EnvironmentError: