mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-09-08 21:45:05 +00:00
[vessel] Fix pep8 issue
This commit is contained in:
parent
15b67a268a
commit
c496ec0848
|
@ -45,7 +45,7 @@ class VesselIE(InfoExtractor):
|
||||||
|
|
||||||
def _check_access_rights(self, data):
|
def _check_access_rights(self, data):
|
||||||
access_info = data.get('__view', {})
|
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 ''
|
err_code = access_info.get('error_code') or ''
|
||||||
if err_code == 'ITEM_PAID_ONLY':
|
if err_code == 'ITEM_PAID_ONLY':
|
||||||
raise ExtractorError(
|
raise ExtractorError(
|
||||||
|
|
Loading…
Reference in a new issue