summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Olivier <olivier-dev@gmx.com> 2016-06-10 08:20:32 +0200
committerGravatar Olivier <olivier-dev@gmx.com> 2016-06-10 08:20:32 +0200
commit1552f73ab2a59c17344604396443fb7a5f370f71 (patch)
treed5d34a0dfa6fa9b6a03bd58275eff684df506bee /module
parent[ExtractArchive] Maintain archive.files property (diff)
downloadpyload-1552f73ab2a59c17344604396443fb7a5f370f71.tar.xz
Fix forget archive.items in favor of chunks
Diffstat (limited to 'module')
-rw-r--r--module/plugins/hooks/ExtractArchive.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hooks/ExtractArchive.py b/module/plugins/hooks/ExtractArchive.py
index b9e6842cf..690abab25 100644
--- a/module/plugins/hooks/ExtractArchive.py
+++ b/module/plugins/hooks/ExtractArchive.py
@@ -330,7 +330,7 @@ class ExtractArchive(Addon):
#: Remove processed file and related multiparts from list
files_ids = [(fid, fname, fout) for fid, fname, fout in files_ids \
- if fname not in archive.items()]
+ if fname not in archive.chunks()]
self.log_debug("Extracted files: %s" % new_files)
for filename in new_files: