diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-09-07 23:50:03 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-09-14 10:59:52 +0200 |
commit | 4cd693b5c4f2ede4ac4928b5b433b3932d64519a (patch) | |
tree | 5a22ec483885290094ac38a06a8c3bf877856820 /module/plugins/internal | |
parent | Merge branch 'stable' into 0.4.10 (diff) | |
download | pyload-4cd693b5c4f2ede4ac4928b5b433b3932d64519a.tar.xz |
save_join -> safe_join & save_path -> safe_filename
Diffstat (limited to 'module/plugins/internal')
-rw-r--r-- | module/plugins/internal/UnRar.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/UnRar.py b/module/plugins/internal/UnRar.py index 19c278735..42ba2f66f 100644 --- a/module/plugins/internal/UnRar.py +++ b/module/plugins/internal/UnRar.py @@ -9,7 +9,7 @@ from string import digits from subprocess import Popen, PIPE from module.plugins.internal.AbstractExtractor import AbtractExtractor, WrongPassword, ArchiveError, CRCError -from module.utils import save_join, decode +from module.utils import safe_join, decode class UnRar(AbtractExtractor): @@ -173,7 +173,7 @@ class UnRar(AbtractExtractor): for f in decode(out).splitlines(): f = f.strip() - result.add(save_join(self.out, f)) + result.add(safe_join(self.out, f)) self.files = result |