summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/Plugin.py
diff options
context:
space:
mode:
authorGravatar estaban <babedoudi@yahoo.fr> 2015-08-03 20:52:47 +0200
committerGravatar estaban <babedoudi@yahoo.fr> 2015-08-03 20:52:47 +0200
commit1fcc81a6a0dbabe11f05b48fc115a4a49b05209a (patch)
treecbc7e1e1769d30067138c4f256093b3f83c62660 /module/plugins/internal/Plugin.py
parentUpdate Plugin.py (diff)
downloadpyload-1fcc81a6a0dbabe11f05b48fc115a4a49b05209a.tar.xz
Update Plugin.py
call set_cookies with the list of cookies, not the boolean
Diffstat (limited to 'module/plugins/internal/Plugin.py')
-rw-r--r--module/plugins/internal/Plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/internal/Plugin.py b/module/plugins/internal/Plugin.py
index 2e65dae29..6b07d4557 100644
--- a/module/plugins/internal/Plugin.py
+++ b/module/plugins/internal/Plugin.py
@@ -335,7 +335,7 @@ class Plugin(object):
#@TODO: Move to network in 0.4.10
if hasattr(self, 'COOKIES') and isinstance(self.COOKIES, list):
- set_cookies(req.cj, cookies)
+ set_cookies(req.cj, self.COOKIES)
res = req.load(url, get, post, ref, bool(cookies), just_header, multipart, decode is True) #@TODO: Fix network multipart in 0.4.10