mirror of https://github.com/yt-dlp/yt-dlp
Do not mutate default arguments
In this case, it looks rather harmless (since the conditions for --restrict-filenames should not change while a process is running), but just to be sure. This also simplifies the interface for callers, who can just pass in the idiomatic None for "I don't care, whatever is the default".pull/8/head
parent
17769d5a6c
commit
a3fb4675fb
Loading…
Reference in New Issue