mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-03-09 12:50:23 -05:00
revert formatter
This commit is contained in:
parent
5de3062ced
commit
78c09c792d
1 changed files with 2 additions and 5 deletions
|
@ -73,11 +73,8 @@ def exec_module(self, module):
|
|||
def dirs_in_zip(archive):
|
||||
try:
|
||||
with ZipFile(archive) as zip_:
|
||||
return set(
|
||||
itertools.chain.from_iterable(
|
||||
Path(file).parents for file in zip_.namelist()
|
||||
),
|
||||
)
|
||||
return set(itertools.chain.from_iterable(
|
||||
Path(file).parents for file in zip_.namelist()))
|
||||
except FileNotFoundError:
|
||||
pass
|
||||
except Exception as e:
|
||||
|
|
Loading…
Reference in a new issue