From 719a76760bedc6dd230db822c1d17915699fd5ad Mon Sep 17 00:00:00 2001 From: Sergey M Date: Sun, 23 Sep 2018 21:32:45 +0700 Subject: [PATCH] Update zattoo.py --- youtube_dl/extractor/zattoo.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/youtube_dl/extractor/zattoo.py b/youtube_dl/extractor/zattoo.py index b62713031..77931d2e8 100644 --- a/youtube_dl/extractor/zattoo.py +++ b/youtube_dl/extractor/zattoo.py @@ -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')