From c496ec084823436fa27eda0a12887c028f572ed3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Marqui=CC=81nez=20Ferra=CC=81ndiz?= Date: Thu, 26 Mar 2015 19:51:40 +0100 Subject: [PATCH] [vessel] Fix pep8 issue --- youtube_dl/extractor/vessel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/vessel.py b/youtube_dl/extractor/vessel.py index 123d9470e5..6215f06420 100644 --- a/youtube_dl/extractor/vessel.py +++ b/youtube_dl/extractor/vessel.py @@ -45,7 +45,7 @@ def find_assets(data, asset_type): def _check_access_rights(self, data): access_info = data.get('__view', {}) - if access_info.get('allow_access') == False: + if not access_info.get('allow_access', True): err_code = access_info.get('error_code') or '' if err_code == 'ITEM_PAID_ONLY': raise ExtractorError(