mirror of https://github.com/yt-dlp/yt-dlp.git
Expand paths in `--plugin-dirs` (fix 0f593dca9f
) (#11334)
Authored by: bashonly
This commit is contained in:
parent
c998238c2e
commit
914af9a0cf
|
@ -970,7 +970,8 @@ def _real_main(argv=None):
|
||||||
|
|
||||||
# HACK: Set the plugin dirs early on
|
# HACK: Set the plugin dirs early on
|
||||||
# TODO(coletdjnz): remove when plugin globals system is implemented
|
# TODO(coletdjnz): remove when plugin globals system is implemented
|
||||||
Config._plugin_dirs = opts.plugin_dirs
|
if opts.plugin_dirs is not None:
|
||||||
|
Config._plugin_dirs = list(map(expand_path, opts.plugin_dirs))
|
||||||
|
|
||||||
# Dump user agent
|
# Dump user agent
|
||||||
if opts.dump_user_agent:
|
if opts.dump_user_agent:
|
||||||
|
|
Loading…
Reference in New Issue