mirror of https://github.com/yt-dlp/yt-dlp
YoutubeDL: set the 'params' property before any message/warning/error is sent (fixes #1840)
If it sets the 'restrictfilenames' param, it will first report a warning. It will try to get the logger from the 'params' property, which would be set at that moment to None, raising the error 'AttributeError: 'NoneType' object has no attribute 'get''pull/8/head
parent
c5ed4e8f7e
commit
4a98cdbf3b
Loading…
Reference in New Issue