aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/vessel.py
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2015-03-26 19:51:40 +0100
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2015-03-26 19:51:40 +0100
commitc496ec084823436fa27eda0a12887c028f572ed3 (patch)
treeb63cfa4b39151fb8296a1a87cf3e68628545bf08 /youtube_dl/extractor/vessel.py
parent15b67a268adb88098b7fa9752c998c3e886c0d06 (diff)
[vessel] Fix pep8 issue
Diffstat (limited to 'youtube_dl/extractor/vessel.py')
-rw-r--r--youtube_dl/extractor/vessel.py2
1 files changed, 1 insertions, 1 deletions
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(