diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-11-07 02:37:23 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-11-07 02:40:36 +0530 |
commit | ff48fc04d0001b98a7dcbd30cce67aa1135ef355 (patch) | |
tree | def020472a7cba2c00177a511a958410b4b49b38 | |
parent | 46d09f87072e112c363f4a573966d8e48a788562 (diff) | |
download | hypervideo-pre-ff48fc04d0001b98a7dcbd30cce67aa1135ef355.tar.lz hypervideo-pre-ff48fc04d0001b98a7dcbd30cce67aa1135ef355.tar.xz hypervideo-pre-ff48fc04d0001b98a7dcbd30cce67aa1135ef355.zip |
[update] Use error code 100 for update errors
This error code was previously used for
"Exiting to finish update", but is no longer used
Closes #5198
-rw-r--r-- | yt_dlp/update.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/yt_dlp/update.py b/yt_dlp/update.py index 026bc12aa..70a1d6f7f 100644 --- a/yt_dlp/update.py +++ b/yt_dlp/update.py @@ -174,6 +174,7 @@ class Updater: def _report_error(self, msg, expected=False): self.ydl.report_error(msg, tb=False if expected else None) + self.ydl._download_retcode = 100 def _report_permission_error(self, file): self._report_error(f'Unable to write to {file}; Try running as administrator', True) |