Update zattoo.py

This commit is contained in:
Sergey M 2018-09-23 21:32:45 +07:00 committed by GitHub
parent 021ccc8aff
commit 719a76760b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,7 +86,8 @@ class ZattooBaseIE(InfoExtractor):
return next(
chan['cid'] for chan in channel_list
if chan.get('cid') and (
chan.get('display_alias') == channel_name or chan.get('cid') == channel_name))
chan.get('display_alias') == channel_name or
chan.get('cid') == channel_name))
except StopIteration:
raise ExtractorError('Could not extract channel id')