mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-12-25 21:59:04 +01:00
Expand paths in --plugin-dirs
(fix 0f593dca9f
) (#11334)
Authored by: bashonly
This commit is contained in:
parent
c998238c2e
commit
914af9a0cf
1 changed files with 2 additions and 1 deletions
|
@ -970,7 +970,8 @@ def _real_main(argv=None):
|
|||
|
||||
# HACK: Set the plugin dirs early on
|
||||
# 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
|
||||
if opts.dump_user_agent:
|
||||
|
|
Loading…
Reference in a new issue