mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-06-13 01:42:41 +00:00
[cleanup] Misc (#16630)
* Fix PyPy dependency issue with cffi * Export requirements files from dependency groups * Simplify bundle targets & rework build flow * Code cleanup & type annotation fixes * Update FFmpeg-Builds status in README Authored by: bashonly
This commit is contained in:
@@ -110,8 +110,8 @@ def zipf_files_and_folders(zipf: zipfile.ZipFile, glob: str = '*') -> tuple[list
|
||||
for f in itertools.chain(path.glob(glob), path.rglob(glob)):
|
||||
if not f.is_file():
|
||||
continue
|
||||
files.append(f.at)
|
||||
folder = f.parent.at.rstrip('/')
|
||||
files.append(f.at) # type: ignore[attr-defined]
|
||||
folder = f.parent.at.rstrip('/') # type: ignore[attr-defined]
|
||||
if folder and folder not in folders:
|
||||
folders.append(folder)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user