Merge branch 'yt-dlp:master' into master

This commit is contained in:
bergoid 2022-09-13 22:04:09 +02:00 committed by GitHub
commit 73b66b01a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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))