summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-16 17:48:30 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-16 18:06:38 +0200
commit6cdb1ae0fe8f4faf897220d0520ca3e753e9f3e4 (patch)
tree24a8d6e3c2e62597b6cd3a75b77bf1a6470bd702 /pyload/plugin/hoster
parentFix lib import (diff)
downloadpyload-6cdb1ae0fe8f4faf897220d0520ca3e753e9f3e4.tar.xz
[config] Use get method instead dict access
Diffstat (limited to 'pyload/plugin/hoster')
-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 ff8d2c3b8..eda518150 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))