diff options
author | Jens Hörnlein <jens.hoernlein@googlemail.com> | 2015-02-04 20:41:03 +0100 |
---|---|---|
committer | Jens Hörnlein <jens.hoernlein@googlemail.com> | 2015-02-04 20:42:51 +0100 |
commit | 0df373e5da9d33e4dea3e709521d4883ef7f9b45 (patch) | |
tree | 2b467a708eeea233f4756074ac086c893f0656e7 /module/plugins/internal | |
parent | Addressed some Extractor Issues (diff) | |
download | pyload-0df373e5da9d33e4dea3e709521d4883ef7f9b45.tar.xz |
[Unrar] Fix: Deleting All Files after Extraction
Diffstat (limited to 'module/plugins/internal')
-rw-r--r-- | module/plugins/internal/UnRar.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/internal/UnRar.py b/module/plugins/internal/UnRar.py index 7126c960b..81cfb38a7 100644 --- a/module/plugins/internal/UnRar.py +++ b/module/plugins/internal/UnRar.py @@ -167,7 +167,7 @@ class UnRar(Extractor): try: dir, name = os.path.split(self.filename) - part = self.getattr(self, "re_rarpart%d" % i).search(name).group(1) + part = getattr(self, "re_rarpart%d" % i).search(name).group(1) new_name = name[::-1].replace((".part%s.rar" % part)[::-1], ".part*.rar"[::-1], 1)[::-1] file = fs_encode(os.path.join(dir, new_name)) |