diff options
author | Gutz-Pilz <hannes.mueller87@gmail.com> | 2015-10-19 15:42:02 +0200 |
---|---|---|
committer | Gutz-Pilz <hannes.mueller87@gmail.com> | 2015-10-19 15:42:02 +0200 |
commit | b21a54ed5049cd34dceb63bcb3dffe3d286aac24 (patch) | |
tree | 6fd8a147b15a972cc01b5f52cc7f8641e1c52182 /module | |
parent | Spare fixes (diff) | |
download | pyload-b21a54ed5049cd34dceb63bcb3dffe3d286aac24.tar.xz |
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)) |