mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 09:07:58 +01:00
parent
5038f6d713
commit
b059188383
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ def _get_package_paths(*root_paths, containing_folder='plugins'):
|
|||
candidate = path / parts
|
||||
if candidate.is_dir():
|
||||
yield candidate
|
||||
elif path.suffix in ('.zip', '.egg', '.whl'):
|
||||
elif path.suffix in ('.zip', '.egg', '.whl') and path.is_file():
|
||||
if parts in dirs_in_zip(path):
|
||||
yield candidate
|
||||
|
||||
|
|
Loading…
Reference in a new issue