From 1552f73ab2a59c17344604396443fb7a5f370f71 Mon Sep 17 00:00:00 2001 From: Olivier Date: Fri, 10 Jun 2016 08:20:32 +0200 Subject: Fix forget archive.items in favor of chunks --- module/plugins/hooks/ExtractArchive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3