mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	Fix W504 and disable W503 (closes #20863)
This commit is contained in:
		| @@ -275,8 +275,8 @@ class VevoIE(VevoBaseIE): | ||||
|  | ||||
|         genres = video_info.get('genres') | ||||
|         genre = ( | ||||
|             genres[0] if genres and isinstance(genres, list) and | ||||
|             isinstance(genres[0], compat_str) else None) | ||||
|             genres[0] if genres and isinstance(genres, list) | ||||
|             and isinstance(genres[0], compat_str) else None) | ||||
|  | ||||
|         is_explicit = video_info.get('isExplicit') | ||||
|         if is_explicit is True: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․