diff options
author | mkaay <mkaay@mkaay.de> | 2010-08-05 21:18:34 +0200 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-08-05 21:18:34 +0200 |
commit | bab94efdcfe9947c42e4d8f8cfeb48e2d921d93a (patch) | |
tree | 91ac8239d9494540126a9a822c89ecdcdda1b22d /module/RequestFactory.py | |
parent | gregy's opera fix (diff) | |
download | pyload-bab94efdcfe9947c42e4d8f8cfeb48e2d921d93a.tar.xz |
order and priority preperations
multi home plugin
some fixes
Diffstat (limited to 'module/RequestFactory.py')
-rw-r--r-- | module/RequestFactory.py | 4 |
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) |