0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-27 03:03:01 +00:00

Revert "Move update to front"

This reverts commit db30f02b50.
This commit is contained in:
Philipp Hagemeister 2013-01-12 22:10:36 +01:00
parent bffbd5f038
commit 67353612ba

View file

@ -280,10 +280,6 @@ def _find_term_columns():
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: