summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
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/hoster
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/hoster')
-rw-r--r--module/plugins/hoster/Xdcc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/Xdcc.py b/module/plugins/hoster/Xdcc.py
index a26e239ad..d26f12a78 100644
--- a/module/plugins/hoster/Xdcc.py
+++ b/module/plugins/hoster/Xdcc.py
@@ -11,7 +11,7 @@ from os.path import exists, join
from select import select
from module.plugins.Hoster import Hoster
-from module.utils import save_join
+from module.utils import safe_join
class Xdcc(Hoster):
@@ -187,7 +187,7 @@ class Xdcc(Hoster):
self.pyfile.name = packname
download_folder = self.config['general']['download_folder']
- filename = save_join(download_folder, packname)
+ filename = safe_join(download_folder, packname)
self.logInfo("XDCC: Downloading %s from %s:%d" % (packname, ip, port))