mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	Fix --config-location -
				
					
				
			This commit is contained in:
		| @@ -5554,6 +5554,9 @@ class Config: | |||||||
|         self.parsed_args = self.own_args |         self.parsed_args = self.own_args | ||||||
|         for location in opts.config_locations or []: |         for location in opts.config_locations or []: | ||||||
|             if location == '-': |             if location == '-': | ||||||
|  |                 if location in self._loaded_paths: | ||||||
|  |                     continue | ||||||
|  |                 self._loaded_paths.add(location) | ||||||
|                 self.append_config(shlex.split(read_stdin('options'), comments=True), label='stdin') |                 self.append_config(shlex.split(read_stdin('options'), comments=True), label='stdin') | ||||||
|                 continue |                 continue | ||||||
|             location = os.path.join(directory, expand_path(location)) |             location = os.path.join(directory, expand_path(location)) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan