aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/cnn.py
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-11-26 18:53:36 +0100
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-11-26 18:54:14 +0100
commit4a98cdbf3b19b07c7a885d348e79ddf79318f133 (patch)
tree775f0d0ec6d3195102dc62b09fceac5be0f04b6f /youtube_dl/extractor/cnn.py
parentc5ed4e8f7efaa258c74dd3179a7c691208874e41 (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