summaryrefslogtreecommitdiffstats
path: root/module/Py_Load_File.py
diff options
context:
space:
mode:
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