diff options
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) |