[update] Improve blocked update message

Authored by: bashonly
This commit is contained in:
bashonly 2023-11-22 09:50:00 -06:00
parent 33b43c5db5
commit 15dbcbb9cb
No known key found for this signature in database
GPG key ID: 783F096F253D15B0

View file

@ -334,7 +334,8 @@ def _process_update_spec(self, lockfile: str, resolved_tag: str):
continue
self._report_error(
f'yt-dlp cannot be updated to {resolved_tag} since you are on an older Python version', True)
f'yt-dlp cannot be updated to {resolved_tag} since you are on an older Python version '
'or your operating system is not compatible with the requested build', True)
return None
return resolved_tag