diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-11-26 18:53:36 +0100 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-11-26 18:54:14 +0100 |
commit | 4a98cdbf3b19b07c7a885d348e79ddf79318f133 (patch) | |
tree | 775f0d0ec6d3195102dc62b09fceac5be0f04b6f /youtube_dl/extractor/cnn.py | |
parent | c5ed4e8f7efaa258c74dd3179a7c691208874e41 (diff) |
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''
Diffstat (limited to 'youtube_dl/extractor/cnn.py')
0 files changed, 0 insertions, 0 deletions