summaryrefslogtreecommitdiffstats
path: root/module/Py_Load_File.py
diff options
context:
space:
mode:
authorGravatar spoob <spoob@gmx.de> 2009-08-18 20:56:50 +0200
committerGravatar spoob <spoob@gmx.de> 2009-08-18 20:56:50 +0200
commit0e843b30e373d286df59fe768fb43a39e1416b61 (patch)
treeeef42d764d30279822ae3b5cfa5388261d965c94 /module/Py_Load_File.py
parentnew webinterface functions (diff)
downloadpyload-0e843b30e373d286df59fe768fb43a39e1416b61.tar.xz
Updated Config System
Diffstat (limited to 'module/Py_Load_File.py')
-rw-r--r--module/Py_Load_File.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/Py_Load_File.py b/module/Py_Load_File.py
index 570e605cd..278b8f6c7 100644
--- a/module/Py_Load_File.py
+++ b/module/Py_Load_File.py
@@ -30,8 +30,8 @@ class PyLoadFile:
def init_download(self):
- if self.parent.config['useproxy']:
- self.plugin.req.add_proxy(self.parent.config['proxyprotocol'], self.parent.config['proxyadress'])
+ if self.parent.config['proxy']['activated']:
+ self.plugin.req.add_proxy(self.parent.config['proxy']['protocol'], self.parent.config['proxy']['adress'])
#@todo: check dependicies, ocr etc