mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-08 17:33:16 +00:00
Merge branch 'master' of github_bergoid:bergoid/yt-dlp
This commit is contained in:
commit
0e5d60d206
|
@ -5554,6 +5554,9 @@ def load_configs(self):
|
|||
self.parsed_args = self.own_args
|
||||
for location in opts.config_locations or []:
|
||||
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')
|
||||
continue
|
||||
location = os.path.join(directory, expand_path(location))
|
||||
|
|
Loading…
Reference in a new issue