[kaltura] Fix typo in subtitles extraction (closes #13569)

This commit is contained in:
Sergey M․ 2017-07-05 23:20:50 +07:00
parent 0a2e1b2e30
commit 6554708252
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -324,7 +324,7 @@ def sign_url(unsigned_url):
if captions: if captions:
for caption in captions.get('objects', []): for caption in captions.get('objects', []):
# Continue if caption is not ready # Continue if caption is not ready
if f.get('status') != 2: if caption.get('status') != 2:
continue continue
if not caption.get('id'): if not caption.get('id'):
continue continue