mirror of
				https://github.com/ytdl-org/youtube-dl.git
				synced 2025-10-29 09:26:20 -07:00 
			
		
		
		
	[youtube] Remove useless if
This commit is contained in:
		| @@ -562,7 +562,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor): | ||||
|         else: | ||||
|             assert False, 'Invalid player type %r' % player_type | ||||
|  | ||||
|         if cache_spec is None: | ||||
|         test_string = ''.join(map(compat_chr, range(len(example_sig)))) | ||||
|         cache_res = res(test_string) | ||||
|         cache_spec = [ord(c) for c in cache_res] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user