diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-12-28 00:17:15 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-12-28 00:17:15 +0100 |
commit | 0f91dcb371334286b43fafffc5e4f605bd184f9d (patch) | |
tree | f6c77c71136482d4cf38fe2447c6374e3ce0e4ad /module/network/Browser.py | |
parent | api fixes (diff) | |
download | pyload-0f91dcb371334286b43fafffc5e4f605bd184f9d.tar.xz |
working speedlimit + proxy support, closed #197
Diffstat (limited to 'module/network/Browser.py')
-rw-r--r-- | module/network/Browser.py | 6 |
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) |