summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal
diff options
context:
space:
mode:
authorGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-08-03 20:35:31 +0200
committerGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-08-03 20:35:31 +0200
commit967f6d917fa1c7a70958528d0de918a13f91d16b (patch)
treeec81fd2136b99a529af1c98173209f8a83782d3f /module/plugins/internal
parentUpdate XFSAccount.py (diff)
downloadpyload-967f6d917fa1c7a70958528d0de918a13f91d16b.tar.xz
Update Plugin.py
Diffstat (limited to 'module/plugins/internal')
-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 7d1fea1e3..971bf7bed 100644
--- a/module/plugins/internal/Plugin.py
+++ b/module/plugins/internal/Plugin.py
@@ -334,7 +334,7 @@ class Plugin(object):
req = self.req or self.pyload.requestFactory.getRequest(self.__name__)
#@TODO: Move to network in 0.4.10
- if hasattr(self, COOKIES) and isinstance(self.COOKIES, list):
+ if hasattr(self, 'COOKIES') and isinstance(self.COOKIES, list):
set_cookies(req.cj, cookies)
res = req.load(url, get, post, ref, bool(cookies), just_header, multipart, decode is True) #@TODO: Fix network multipart in 0.4.10