summaryrefslogtreecommitdiffstats
path: root/module/Py_Load_File.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-06-08 12:23:28 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-06-08 12:23:28 +0200
commit7b6a6cb94c8c2abc449351a1238227f9b10b0872 (patch)
treecc419ba50b1cbab369949c0be45ccc2e82c57dba /module/Py_Load_File.py
parentFixed the YouPorn.com Plugin (diff)
downloadpyload-7b6a6cb94c8c2abc449351a1238227f9b10b0872.tar.xz
core able to push data to gui, proxy support: closed #1
Diffstat (limited to 'module/Py_Load_File.py')
-rw-r--r--module/Py_Load_File.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/module/Py_Load_File.py b/module/Py_Load_File.py
index 9fcd554a5..d0a4c4591 100644
--- a/module/Py_Load_File.py
+++ b/module/Py_Load_File.py
@@ -26,6 +26,11 @@ class PyLoadFile:
return "Plugin"
def prepareDownload(self):
+
+ if self.parent.config['useproxy']:
+ self.plugin.req.add_proxy(self.parent.config['proxyprotocol'], self.parent.config['proxyadress'])
+
+
self.status.exists = self.plugin.file_exists()
if self.status.exists:
self.status.filename = self.plugin.get_file_name()