summaryrefslogtreecommitdiffstats
path: root/module/RequestFactory.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-08-05 21:18:34 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2010-08-05 21:18:34 +0200
commitbab94efdcfe9947c42e4d8f8cfeb48e2d921d93a (patch)
tree91ac8239d9494540126a9a822c89ecdcdda1b22d /module/RequestFactory.py
parentgregy's opera fix (diff)
downloadpyload-bab94efdcfe9947c42e4d8f8cfeb48e2d921d93a.tar.xz
order and priority preperations
multi home plugin some fixes
Diffstat (limited to 'module/RequestFactory.py')
-rw-r--r--module/RequestFactory.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/RequestFactory.py b/module/RequestFactory.py
index 6ae6bd146..04d5d671a 100644
--- a/module/RequestFactory.py
+++ b/module/RequestFactory.py
@@ -29,12 +29,12 @@ class RequestFactory():
self.core = core
self.requests = []
self.cookiejars = []
+ self.iface = self.core.config["general"]["download_interface"]
def getRequest(self, pluginName, account=None, type="HTTP"):
self.lock.acquire()
if type == "HTTP":
- iface = self.core.config["general"]["download_interface"]
- req = Request(interface=str(iface))
+ req = Request(interface=str(self.iface))
if account:
cj = self.getCookieJar(pluginName, account)
req.setCookieJar(cj)