diff --git a/src/calibre/ebooks/oeb/polish/container.py b/src/calibre/ebooks/oeb/polish/container.py index f17740424f..4a69c52bac 100644 --- a/src/calibre/ebooks/oeb/polish/container.py +++ b/src/calibre/ebooks/oeb/polish/container.py @@ -927,7 +927,7 @@ class EpubContainer(Container): ' 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: