summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/AbstractExtractor.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-11-02 20:30:39 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-11-02 20:30:39 +0100
commitedbdf15081e27c680e390aaaa05788e0396376dd (patch)
tree52595439b2a52738ab68746834e3e3cea4695531 /module/plugins/internal/AbstractExtractor.py
parentNew crypter: FreetexthostCom (diff)
parentMerge remote-tracking branch 'upstream/stable' into stable (diff)
downloadpyload-edbdf15081e27c680e390aaaa05788e0396376dd.tar.xz
Merge pull request #351 from AndroKev/stable
ExtractArchives - add an option to excludefiles
Diffstat (limited to 'module/plugins/internal/AbstractExtractor.py')
-rw-r--r--module/plugins/internal/AbstractExtractor.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/internal/AbstractExtractor.py b/module/plugins/internal/AbstractExtractor.py
index 2130f910e..ace79e149 100644
--- a/module/plugins/internal/AbstractExtractor.py
+++ b/module/plugins/internal/AbstractExtractor.py
@@ -27,7 +27,7 @@ class AbtractExtractor:
raise NotImplementedError
- def __init__(self, m, file, out, fullpath, overwrite, renice):
+ def __init__(self, m, file, out, fullpath, overwrite, excludefiles, renice):
"""Initialize extractor for specific file
:param m: ExtractArchive Hook plugin
@@ -42,6 +42,7 @@ class AbtractExtractor:
self.out = out
self.fullpath = fullpath
self.overwrite = overwrite
+ self.excludefiles = excludefiles
self.renice = renice
self.files = [] # Store extracted files here
@@ -90,4 +91,4 @@ class AbtractExtractor:
def getExtractedFiles(self):
"""Populate self.files at some point while extracting"""
- return self.files \ No newline at end of file
+ return self.files