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/plugins/Plugin.py | |
parent | api fixes (diff) | |
download | pyload-0f91dcb371334286b43fafffc5e4f605bd184f9d.tar.xz |
working speedlimit + proxy support, closed #197
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r-- | module/plugins/Plugin.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py index 6650562ea..3da6e5116 100644 --- a/module/plugins/Plugin.py +++ b/module/plugins/Plugin.py @@ -117,8 +117,8 @@ class Plugin(object): def getChunkCount(self): if self.chunkLimit <= 0: - return self.config["general"]["chunks"] - return min(self.config["general"]["chunks"], self.chunkLimit) + return self.config["download"]["chunks"] + return min(self.config["download"]["chunks"], self.chunkLimit) def __call__(self): return self.__name__ @@ -143,9 +143,6 @@ class Plugin(object): else: self.req.clearCookies() - if self.core.config["proxy"]["activated"]: - self.req.add_proxy(None, self.core.config["proxy"]["address"]) - self.pyfile.setStatus("starting") return self.process(self.pyfile) |