summaryrefslogtreecommitdiffstats
path: root/module/RequestFactory.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-05-10 15:43:10 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2010-05-10 15:43:10 +0200
commitb08291a8981be4eb57fc628e1d205a0ce253a9b8 (patch)
treeb4cc86962665352bb1a36fe61d5235b76f865238 /module/RequestFactory.py
parentcaptcha fix, webinterface dependency output, l18n (diff)
downloadpyload-b08291a8981be4eb57fc628e1d205a0ce253a9b8.tar.xz
new config option (outgoing intreface)
Diffstat (limited to 'module/RequestFactory.py')
-rw-r--r--module/RequestFactory.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/RequestFactory.py b/module/RequestFactory.py
index 37796be6c..e707ea6cd 100644
--- a/module/RequestFactory.py
+++ b/module/RequestFactory.py
@@ -30,7 +30,8 @@ class RequestFactory():
def getRequest(self, pluginName, account=None):
self.lock.acquire()
- req = Request()
+ iface = self.core.config["general"]["download_interface"]
+ req = Request(interface=str(iface))
cj = self.getCookieJar(pluginName, account)
req.setCookieJar(cj)
self.requests.append((pluginName, account, req))