X-Git-Url: https://jfr.im/git/yt-dlp.git/blobdiff_plain/2aa5e2cc01b89a88eab2a6cfaee871e9addaf6a9..91f071af60829f55c8e53b1c7d12dfd0bab71ddf:/yt_dlp/update.py diff --git a/yt_dlp/update.py b/yt_dlp/update.py index aebd5d1e1..116816037 100644 --- a/yt_dlp/update.py +++ b/yt_dlp/update.py @@ -109,14 +109,13 @@ def version_tuple(version_str): err = is_non_updateable() if err: - ydl.to_screen(f'Latest version: {version_id}, Current version: {__version__}') return report_error(err, True) # sys.executable is set to the full pathname of the exe-file for py2exe # though symlinks are not followed so that we need to do this manually # with help of realpath filename = compat_realpath(sys.executable if hasattr(sys, 'frozen') else sys.argv[0]) - ydl.to_screen(f'Current version {__version__}; Build Hash {calc_sha256sum(filename)}') + ydl.to_screen(f'Current Build Hash {calc_sha256sum(filename)}') ydl.to_screen(f'Updating to version {version_id} ...') version_labels = {