summaryrefslogtreecommitdiffstats
path: root/module/plugins/Plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r--module/plugins/Plugin.py7
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)