diff options
Diffstat (limited to 'module/plugins')
| -rw-r--r-- | module/plugins/internal/Plugin.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/module/plugins/internal/Plugin.py b/module/plugins/internal/Plugin.py index 99b5751e5..7d1fea1e3 100644 --- a/module/plugins/internal/Plugin.py +++ b/module/plugins/internal/Plugin.py @@ -146,7 +146,7 @@ def chunks(iterable, size):  class Plugin(object):      __name__    = "Plugin"      __type__    = "hoster" -    __version__ = "0.28" +    __version__ = "0.29"      __status__  = "testing"      __pattern__ = r'^unmatchable$' @@ -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 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 | 
