1
0
mirror of https://gitlab.com/ytdl-org/youtube-dl.git synced 2025-11-11 08:47:07 -05:00
Files
youtube-dl/youtube_dl/YoutubeDL.py
Jaime Marquínez Ferrándiz 4a98cdbf3b 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''
2013-11-26 18:54:14 +01:00

42 KiB