From: Jaime Marquínez Ferrándiz Date: Thu, 26 Mar 2015 18:51:40 +0000 (+0100) Subject: [vessel] Fix pep8 issue X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=c496ec084823436fa27eda0a12887c028f572ed3;p=youtube-dl [vessel] Fix pep8 issue --- diff --git a/youtube_dl/extractor/vessel.py b/youtube_dl/extractor/vessel.py index 123d9470e..6215f0642 100644 --- a/youtube_dl/extractor/vessel.py +++ b/youtube_dl/extractor/vessel.py @@ -45,7 +45,7 @@ class VesselIE(InfoExtractor): 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(