From 967f6d917fa1c7a70958528d0de918a13f91d16b Mon Sep 17 00:00:00 2001 From: GammaC0de Date: Mon, 3 Aug 2015 21:35:31 +0300 Subject: Update Plugin.py --- module/plugins/internal/Plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/plugins/internal') 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 -- cgit v1.2.3