summaryrefslogtreecommitdiffstats
path: root/module/network/Browser.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/network/Browser.py')
-rw-r--r--module/network/Browser.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/network/Browser.py b/module/network/Browser.py
index be8dee27d..0a45c1ef4 100644
--- a/module/network/Browser.py
+++ b/module/network/Browser.py
@@ -9,17 +9,17 @@ from HTTPDownload import HTTPDownload
class Browser(object):
- def __init__(self, interface=None, cj=None, bucket=None, proxies={}):
+ def __init__(self, interface=None, bucket=None, proxies={}):
self.log = getLogger("log")
self.interface = interface
- self.cj = cj
self.bucket = bucket
self.proxies = proxies
+ self.cj = None # needs to be setted later
self._size = 0
- self.http = HTTPRequest(cj, interface, proxies)
+ self.http = HTTPRequest(self.cj, interface, proxies)
self.dl = None
lastEffectiveURL = property(lambda self: self.http.lastEffectiveURL)