X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2F__init__.py;h=28a7bdd929447d05a545e8c2e46bbe7395db8596;hb=44d466559e9d1e762456a2dce4fc6cb0775f105e;hp=46d0fbd648686293b8e7beb99b792453624dbca1;hpb=f426de84606fd0807a5ab38c0733032d790b056e;p=youtube-dl diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py index 46d0fbd64..28a7bdd92 100644 --- a/youtube_dl/__init__.py +++ b/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' u' file! Use "%%(ext)s" instead of %r' % determine_ext(outtmpl, u'')) - raise ValueError(repr(opts.cachedir)) + # YoutubeDL ydl = YoutubeDL({ 'usenetrc': opts.usenetrc, @@ -658,7 +658,7 @@ def _real_main(argv=None): # Update version if opts.update_self: - update_self(ydl.to_screen, opts.verbose, sys.argv[0]) + update_self(ydl.to_screen, opts.verbose) # Maybe do nothing if len(all_urls) < 1: