diff options
author | Olivier <olivier-dev@gmx.com> | 2016-06-08 08:26:04 +0200 |
---|---|---|
committer | Olivier <olivier-dev@gmx.com> | 2016-06-08 08:26:04 +0200 |
commit | 411d8031c3ce4547b9f165761f74f0067bea7e7b (patch) | |
tree | 2216cb784cfcf48f298da062bf6427bfa8e76eab /module/plugins/internal/UnRar.py | |
parent | [FilerNet] Fix #2489 (diff) | |
download | pyload-411d8031c3ce4547b9f165761f74f0067bea7e7b.tar.xz |
[ExtractArchive] Fix
Diffstat (limited to 'module/plugins/internal/UnRar.py')
-rw-r--r-- | module/plugins/internal/UnRar.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/module/plugins/internal/UnRar.py b/module/plugins/internal/UnRar.py index 3b1d7b290..b91f2455b 100644 --- a/module/plugins/internal/UnRar.py +++ b/module/plugins/internal/UnRar.py @@ -123,7 +123,7 @@ class UnRar(Extractor): break #: Reading a percentage sign -> set progress and restart if c == "%": - self.notifyprogress(int(s)) + self.pyfile.setProgress(int(s)) s = "" #: Not reading a digit -> therefore restart elif c not in string.digits: @@ -155,6 +155,9 @@ class UnRar(Extractor): if p.returncode: raise ArchiveError(_("Process return code: %d") % p.returncode) + self.files = self.list(password) + return self.files + def chunks(self): dir, name = os.path.split(self.filename) |