summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/Xdcc.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/Xdcc.py')
-rw-r--r--module/plugins/hoster/Xdcc.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/Xdcc.py b/module/plugins/hoster/Xdcc.py
index 8bbeb83fb..b6f7466b5 100644
--- a/module/plugins/hoster/Xdcc.py
+++ b/module/plugins/hoster/Xdcc.py
@@ -9,7 +9,7 @@ import time
from select import select
from module.plugins.internal.Hoster import Hoster
-from module.utils import save_join
+from module.utils import save_join as fs_join
class Xdcc(Hoster):
@@ -189,8 +189,8 @@ class Xdcc(Hoster):
self.pyfile.name = packname
- download_folder = self.config['general']['download_folder']
- filename = save_join(download_folder, packname)
+ download_folder = self.core.config['general']['download_folder']
+ filename = fs_join(download_folder, packname)
self.logInfo(_("Downloading %s from %s:%d") % (packname, ip, port))