From 2ba07aa53d2af572af2c5a43e77725abd46e1b13 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Thu, 29 Jul 2010 12:09:42 +0200 Subject: many new stuff, some things already working --- module/RequestFactory.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'module/RequestFactory.py') diff --git a/module/RequestFactory.py b/module/RequestFactory.py index 975356254..373eeb312 100644 --- a/module/RequestFactory.py +++ b/module/RequestFactory.py @@ -36,8 +36,11 @@ class RequestFactory(): if type == "HTTP": iface = self.core.config["general"]["download_interface"] req = Request(interface=str(iface)) - cj = self.getCookieJar(pluginName, account) - req.setCookieJar(cj) + if account: + cj = self.getCookieJar(pluginName, account) + req.setCookieJar(cj) + else: + req.setCookieJar(CookieJar(pluginName)) elif type == "XDCC": req = XdccRequest() -- cgit v1.2.3