mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-03-09 12:50:23 -05:00
Apply suggestions from code review
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
This commit is contained in:
parent
f9ef24c7f3
commit
635d550cb3
3 changed files with 3 additions and 2 deletions
|
@ -989,7 +989,7 @@ def _real_main(argv=None):
|
|||
FFmpegPostProcessor._ffmpeg_location.set(opts.ffmpeg_location)
|
||||
|
||||
# load all plugins into the global lookup
|
||||
plugin_dirs.value = list(set(opts.plugin_dirs))
|
||||
plugin_dirs.value = opts.plugin_dirs
|
||||
if plugin_dirs.value:
|
||||
_load_all_plugins()
|
||||
|
||||
|
|
|
@ -49,6 +49,7 @@
|
|||
'load_all_plugins',
|
||||
'load_plugins',
|
||||
'register_plugin_spec',
|
||||
'PluginSpec',
|
||||
]
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue