From 7b6a6cb94c8c2abc449351a1238227f9b10b0872 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 8 Jun 2009 12:23:28 +0200 Subject: core able to push data to gui, proxy support: closed #1 --- module/Py_Load_File.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'module/Py_Load_File.py') 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() -- cgit v1.2.3