mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-09 10:50:38 +00:00
parent
5038f6d713
commit
b059188383
@ -88,7 +88,7 @@ class PluginFinder(importlib.abc.MetaPathFinder):
|
||||
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 New Issue
Block a user