Fix W504 and disable W503 (closes #20863)
[youtube-dl] / youtube_dl / extractor / zattoo.py
index ee514666b3e6ae274ccc5f97c964a9d2cbaacd18..6bac3026ede81754f41d6eb56c92815c41cfa06c 100644 (file)
@@ -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')