Browse Source

Revert "Move update to front"

This reverts commit db30f02b50.
rtmp_test
Philipp Hagemeister 12 years ago
parent
commit
67353612ba
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      youtube_dl/__init__.py

+ 4
- 4
youtube_dl/__init__.py View File

@ -280,10 +280,6 @@ def parseOpts():
def _real_main():
parser, opts, args = parseOpts()
# Update version
if opts.update_self:
update_self(fd.to_screen, opts.verbose, sys.argv[0])
# Open appropriate CookieJar
if opts.cookiefile is None:
jar = compat_cookiejar.CookieJar()
@ -467,6 +463,10 @@ def _real_main():
if opts.recodevideo:
fd.add_post_processor(FFmpegVideoConvertor(preferedformat=opts.recodevideo))
# Update version
if opts.update_self:
update_self(fd.to_screen, opts.verbose, sys.argv[0])
# Maybe do nothing
if len(all_urls) < 1:
if not opts.update_self:


Loading…
Cancel
Save