1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-06-30 21:21:11 +02:00

[vessel] Fix pep8 issue

This commit is contained in:
Jaime Marquínez Ferrándiz 2015-03-26 19:51:40 +01:00
parent 15b67a268a
commit c496ec0848

View File

@ -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(