mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-09-03 08:35:32 +00:00
[utils] Fix join_nonempty
, add **kwargs
to unpack
(#11559)
Authored by: Grub4K
This commit is contained in:
@ -452,9 +452,9 @@ def trim_str(*, start=None, end=None):
|
||||
return trim
|
||||
|
||||
|
||||
def unpack(func):
|
||||
def unpack(func, **kwargs):
|
||||
@functools.wraps(func)
|
||||
def inner(items, **kwargs):
|
||||
def inner(items):
|
||||
return func(*items, **kwargs)
|
||||
|
||||
return inner
|
||||
|
Reference in New Issue
Block a user