mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-22 10:07:43 -05:00
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
|
||||
# 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 New Issue
Block a user