summaryrefslogtreecommitdiffstats
path: root/module/plugins/container/CCF.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-09-07 23:50:03 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-09-14 10:59:52 +0200
commit4cd693b5c4f2ede4ac4928b5b433b3932d64519a (patch)
tree5a22ec483885290094ac38a06a8c3bf877856820 /module/plugins/container/CCF.py
parentMerge branch 'stable' into 0.4.10 (diff)
downloadpyload-4cd693b5c4f2ede4ac4928b5b433b3932d64519a.tar.xz
save_join -> safe_join & save_path -> safe_filename
Diffstat (limited to 'module/plugins/container/CCF.py')
-rw-r--r--module/plugins/container/CCF.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/container/CCF.py b/module/plugins/container/CCF.py
index ee92beb9a..959eeb1d0 100644
--- a/module/plugins/container/CCF.py
+++ b/module/plugins/container/CCF.py
@@ -9,7 +9,7 @@ from urllib2 import build_opener
from module.lib.MultipartPostHandler import MultipartPostHandler
from module.plugins.Container import Container
-from module.utils import save_join
+from module.utils import safe_join
class CCF(Container):
@@ -35,7 +35,7 @@ class CCF(Container):
download_folder = self.config['general']['download_folder']
- tempdlc_name = save_join(download_folder, "tmp_%s.dlc" % pyfile.name)
+ tempdlc_name = safe_join(download_folder, "tmp_%s.dlc" % pyfile.name)
tempdlc = open(tempdlc_name, "w")
tempdlc.write(re.search(r'<dlc>(.*)</dlc>', tempdlc_content, re.DOTALL).group(1))
tempdlc.close()