Remove debugging code
authorPhilipp Hagemeister <phihag@phihag.de>
Tue, 24 Sep 2013 19:55:25 +0000 (21:55 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Tue, 24 Sep 2013 19:55:25 +0000 (21:55 +0200)
youtube_dl/__init__.py

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