diff options
author | Walter Purcaro <vuolter@gmail.com> | 2015-03-04 02:21:50 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2015-03-04 02:21:50 +0100 |
commit | 8b432eb80715f84800febb88620d943211e28051 (patch) | |
tree | eabc9cd771e9240ce895aee417d60412924c0693 /module/plugins/internal/Extractor.py | |
parent | [ClickAndLoad] Revert and improve (diff) | |
download | pyload-8b432eb80715f84800febb88620d943211e28051.tar.xz |
Diffstat (limited to 'module/plugins/internal/Extractor.py')
-rw-r--r-- | module/plugins/internal/Extractor.py | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/module/plugins/internal/Extractor.py b/module/plugins/internal/Extractor.py index bc8e67c6d..4b21cc49c 100644 --- a/module/plugins/internal/Extractor.py +++ b/module/plugins/internal/Extractor.py @@ -3,7 +3,6 @@ import os from module.PyFile import PyFile -from module.utils import fs_encode class ArchiveError(Exception): @@ -71,17 +70,16 @@ class Extractor: keepbroken=False, fid=None): """ Initialize extractor for specific file """ - self.manager = manager - self.target = "'%s'" % fs_encode(filename) - self.filename = filename - self.out = out - self.fullpath = fullpath - self.overwrite = overwrite - self.excludefiles = excludefiles - self.renice = renice - self.delete = delete - self.keepbroken = keepbroken - self.files = [] #: Store extracted files here + self.manager = manager + self.filename = filename + self.out = out + self.fullpath = fullpath + self.overwrite = overwrite + self.excludefiles = excludefiles + self.renice = renice + self.delete = delete + self.keepbroken = keepbroken + self.files = [] #: Store extracted files here pyfile = self.manager.core.files.getFile(fid) if fid else None self.notifyProgress = lambda x: pyfile.setProgress(x) if pyfile else lambda x: None |