X-Git-Url: http://git.bitcoin.ninja/index.cgi?p=youtube-dl;a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fzattoo.py;h=6bac3026ede81754f41d6eb56c92815c41cfa06c;hp=ee514666b3e6ae274ccc5f97c964a9d2cbaacd18;hb=3089bc748c0fe72a0361bce3f5e2fbab25175236;hpb=d23e85515a8f58e276e8ac07bf1fa19f4f1aaec8 diff --git a/youtube_dl/extractor/zattoo.py b/youtube_dl/extractor/zattoo.py index ee514666b..6bac3026e 100644 --- a/youtube_dl/extractor/zattoo.py +++ b/youtube_dl/extractor/zattoo.py @@ -86,8 +86,8 @@ class ZattooPlatformBaseIE(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')