diff options
author | mkaay <mkaay@mkaay.de> | 2010-05-10 15:43:10 +0200 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-05-10 15:43:10 +0200 |
commit | b08291a8981be4eb57fc628e1d205a0ce253a9b8 (patch) | |
tree | b4cc86962665352bb1a36fe61d5235b76f865238 /module/RequestFactory.py | |
parent | captcha fix, webinterface dependency output, l18n (diff) | |
download | pyload-b08291a8981be4eb57fc628e1d205a0ce253a9b8.tar.xz |
new config option (outgoing intreface)
Diffstat (limited to 'module/RequestFactory.py')
-rw-r--r-- | module/RequestFactory.py | 3 |
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)) |