summaryrefslogtreecommitdiffstats
path: root/module/RequestFactory.py
diff options
context:
space:
mode:
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))