1
0
Fork 0
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:
coletdjnz 2025-02-11 20:19:03 +13:00 committed by GitHub
parent f9ef24c7f3
commit 635d550cb3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 2 deletions

View file

@ -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()

View file

@ -49,6 +49,7 @@
'load_all_plugins',
'load_plugins',
'register_plugin_spec',
'PluginSpec',
]