Merge pull request #1350 from Jaiz909/description-keyerror-fix
[youtube-dl] / youtube_dl / YoutubeDL.py
index afce280407121fdf0e1680ea7c0a7e4ec2b5d0ec..c2f992b8e00f333f59da38ffd59153183d057281 100644 (file)
@@ -493,7 +493,7 @@ class YoutubeDL(object):
                 with io.open(encodeFilename(descfn), 'w', encoding='utf-8') as descfile:
                     descfile.write(info_dict['description'])
             except (KeyError, TypeError):
-                self.report_warning(u'Cannot extract description.')
+                self.report_warning(u'There\'s no description to write.')
             except (OSError, IOError):
                 self.report_error(u'Cannot write description file ' + descfn)
                 return