diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-20 01:24:52 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-20 01:24:52 +0200 |
commit | 9a535d75f6f1a898f5fcc0a925f7cbb22fd449bb (patch) | |
tree | 1de00e778a2d495528682a02f953ab8faa25473e /module | |
parent | Merge pull request #2068 from malkavi/patch-2 (diff) | |
parent | Fixed (diff) | |
download | pyload-9a535d75f6f1a898f5fcc0a925f7cbb22fd449bb.tar.xz |
Merge pull request #2063 from Gutz-Pilz/patch-7
Fixed
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/internal/Extractor.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/internal/Extractor.py b/module/plugins/internal/Extractor.py index 005bfbfd5..864792e49 100644 --- a/module/plugins/internal/Extractor.py +++ b/module/plugins/internal/Extractor.py @@ -5,6 +5,7 @@ import re from module.PyFile import PyFile from module.plugins.internal.Plugin import Plugin +from module.plugins.internal.utils import encode def renice(pid, value): @@ -75,7 +76,7 @@ class Extractor(Plugin): for fname, id, fout in files_ids: if cls.isarchive(fname): - pname = re.sub(cls.re_multipart, "", fname) if cls.ismultipart(fname) else os.path.splitext(fname)[0] + pname = re.sub(cls.re_multipart, "", fname) if cls.is_multipart(fname) else os.path.splitext(fname)[0] if pname not in processed: processed.append(pname) targets.append((fname, id, fout)) |