Philipp Hagemeister 12 лет назад
Родитель
Сommit
29c7a63df8
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      youtube_dl/__init__.py

+ 1 - 1
youtube_dl/__init__.py

@@ -565,7 +565,7 @@ def _real_main(argv=None):
         parser.error(u'Cannot download a video and extract audio into the same'
         parser.error(u'Cannot download a video and extract audio into the same'
                      u' file! Use "%%(ext)s" instead of %r' %
                      u' file! Use "%%(ext)s" instead of %r' %
                      determine_ext(outtmpl, u''))
                      determine_ext(outtmpl, u''))
-    raise ValueError(repr(opts.cachedir))
+
     # YoutubeDL
     # YoutubeDL
     ydl = YoutubeDL({
     ydl = YoutubeDL({
         'usenetrc': opts.usenetrc,
         'usenetrc': opts.usenetrc,