summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/Xdcc.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/hoster/Xdcc.py')
-rw-r--r--pyload/plugin/hoster/Xdcc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugin/hoster/Xdcc.py b/pyload/plugin/hoster/Xdcc.py
index 587c73157..f2b5d0b8f 100644
--- a/pyload/plugin/hoster/Xdcc.py
+++ b/pyload/plugin/hoster/Xdcc.py
@@ -191,7 +191,7 @@ class Xdcc(Hoster):
self.pyfile.name = packname
- download_folder = self.config['general']['download_folder']
+ download_folder = self.config.get("general", "download_folder")
filename = fs_join(download_folder, packname)
self.logInfo(_("Downloading %s from %s:%d") % (packname, ip, port))