mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-06-27 17:08:32 +00:00
oops
This commit is contained in:
parent
e9aec455d2
commit
134f604982
@ -1476,7 +1476,7 @@ def trim_filename(name: str):
|
||||
else:
|
||||
return name[:max_file_name]
|
||||
|
||||
filename = os.path.join(*map(trim_filename, Path(filename).parts) or '.')
|
||||
filename = os.path.join(*map(trim_filename, Path(filename).parts or '.'))
|
||||
return filename + suffix
|
||||
|
||||
@_catch_unsafe_extension_error
|
||||
|
Loading…
Reference in New Issue
Block a user