From 86138e64197a3e9cf8907a9aa6ac2eee0941de67 Mon Sep 17 00:00:00 2001 From: coletdjnz Date: Tue, 11 Feb 2025 20:21:57 +1300 Subject: [PATCH] formatting --- yt_dlp/plugins.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/yt_dlp/plugins.py b/yt_dlp/plugins.py index 6fec308f5..756b7a18c 100644 --- a/yt_dlp/plugins.py +++ b/yt_dlp/plugins.py @@ -44,12 +44,12 @@ __all__ = [ 'COMPAT_PACKAGE_NAME', 'PACKAGE_NAME', + 'PluginSpec', 'clear_plugins', 'directories', 'load_all_plugins', 'load_plugins', 'register_plugin_spec', - 'PluginSpec', ] @@ -128,9 +128,7 @@ def __init__(self, *packages): self.packages = set( itertools.chain.from_iterable( itertools.accumulate(name.split('.'), lambda a, b: '.'.join((a, b))) - for name in packages - ), - ) + for name in packages)) def search_locations(self, fullname): candidate_locations = itertools.chain.from_iterable(