mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	Provide compatibility check_output for 2.6 (Fixes #2926)
This commit is contained in:
		| @@ -6,6 +6,7 @@ from .common import PostProcessor | ||||
| from ..utils import ( | ||||
|     check_executable, | ||||
|     hyphenate_date, | ||||
|     subprocess_check_output | ||||
| ) | ||||
|  | ||||
|  | ||||
| @@ -57,7 +58,7 @@ class XAttrMetadataPP(PostProcessor): | ||||
|                         elif user_has_xattr: | ||||
|                             cmd = ['xattr', '-w', key, value, path] | ||||
|  | ||||
|                         subprocess.check_output(cmd) | ||||
|                         subprocess_check_output(cmd) | ||||
|  | ||||
|                 else: | ||||
|                     # On Unix, and can't find pyxattr, setfattr, or xattr. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Philipp Hagemeister
					Philipp Hagemeister