Skip to content

Commit

Permalink
[update] Improve blocked update message
Browse files Browse the repository at this point in the history
Authored by: bashonly
  • Loading branch information
bashonly committed Nov 22, 2023
1 parent 33b43c5 commit 15dbcbb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion yt_dlp/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 15dbcbb

Please sign in to comment.