Fix W504 and disable W503 (closes #20863)
[youtube-dl] / youtube_dl / extractor / hitrecord.py
index 01a6946d0d706691cd6ca43c0679cdfb4069924a..fd5dc293573654d206cbd19f26b995c1bcea5832 100644 (file)
@@ -47,8 +47,8 @@ class HitRecordIE(InfoExtractor):
             tags = [
                 t['text']
                 for t in tags_list
-                if isinstance(t, dict) and t.get('text') and
-                isinstance(t['text'], compat_str)]
+                if isinstance(t, dict) and t.get('text')
+                and isinstance(t['text'], compat_str)]
 
         return {
             'id': video_id,