1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-23 05:53:12 +08:00

[update] Show also old version on update

This commit is contained in:
Stefan Pöschel 2018-12-08 10:45:59 +01:00
parent c3c098dcf2
commit c3461012c1

View File

@ -78,7 +78,7 @@ def update_self(to_screen, verbose, opener):
to_screen('youtube-dl is up to date (%s)' % __version__) to_screen('youtube-dl is up to date (%s)' % __version__)
return return
to_screen('Updating to version ' + version_id + ' ...') to_screen('Updating to version ' + version_id + ' from version ' + __version__ + ' ...')
version = versions_info['versions'][version_id] version = versions_info['versions'][version_id]
print_notes(to_screen, versions_info['versions']) print_notes(to_screen, versions_info['versions'])