Expand paths in `--plugin-dirs` (fix 0f593dca9f) (#11334)

Authored by: bashonly
master
bashonly 8 hours ago committed by GitHub
parent c998238c2e
commit 914af9a0cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save