diff --git a/couchpotato/core/plugins/base.py b/couchpotato/core/plugins/base.py index 717a875f..e70c3bc6 100644 --- a/couchpotato/core/plugins/base.py +++ b/couchpotato/core/plugins/base.py @@ -172,7 +172,7 @@ class Plugin(object): log.info('Opening url: %s %s, data: %s', (method, url, [x for x in data.keys()] if isinstance(data, dict) else 'with data')) response = r.request(method, url, verify = False, **kwargs) - if response.status_code != requests.codes.ok: + if response.status_code == requests.codes.ok: data = response.content else: response.raise_for_status()