diff --git a/couchpotato/core/_base/updater/main.py b/couchpotato/core/_base/updater/main.py index e4e936ce..8c71d087 100644 --- a/couchpotato/core/_base/updater/main.py +++ b/couchpotato/core/_base/updater/main.py @@ -279,6 +279,7 @@ class SourceUpdater(BaseUpdater): if download_data.get('type') == 'zip': zip = zipfile.ZipFile(destination) zip.extractall(extracted_path) + zip.close() else: tar = tarfile.open(destination) tar.extractall(path = extracted_path)