mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[YoutubeDL] Fix typo in string negation implementation and add more tests (closes #18961)
This commit is contained in:
		| @@ -1078,7 +1078,7 @@ class YoutubeDL(object): | ||||
|                 comparison_value = m.group('value') | ||||
|                 str_op = STR_OPERATORS[m.group('op')] | ||||
|                 if m.group('negation'): | ||||
|                     op = lambda attr, value: not str_op | ||||
|                     op = lambda attr, value: not str_op(attr, value) | ||||
|                 else: | ||||
|                     op = str_op | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․