diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-02-03 20:32:10 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-02-03 21:00:39 +0530 |
commit | 455a15e2dcf29b4712d92a89a95ad5f3ddad69a1 (patch) | |
tree | 82c3c0733f748e47b3e1d551640b416a2c449c14 /yt_dlp/utils.py | |
parent | 460a1c08b93dec0c95911be2bf2b84a65c3813e8 (diff) | |
download | hypervideo-pre-455a15e2dcf29b4712d92a89a95ad5f3ddad69a1.tar.lz hypervideo-pre-455a15e2dcf29b4712d92a89a95ad5f3ddad69a1.tar.xz hypervideo-pre-455a15e2dcf29b4712d92a89a95ad5f3ddad69a1.zip |
[cleanup,docs] Minor fixes
Closes #2541, #2484
Diffstat (limited to 'yt_dlp/utils.py')
-rw-r--r-- | yt_dlp/utils.py | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/yt_dlp/utils.py b/yt_dlp/utils.py index fd3912d18..fe1096168 100644 --- a/yt_dlp/utils.py +++ b/yt_dlp/utils.py @@ -1018,13 +1018,9 @@ def make_HTTPS_handler(params, **kwargs): def bug_reports_message(before=';'): - if ytdl_is_updateable(): - update_cmd = 'type yt-dlp -U to update' - else: - update_cmd = 'see https://github.com/yt-dlp/yt-dlp on how to update' - msg = 'please report this issue on https://github.com/yt-dlp/yt-dlp .' - msg += ' Make sure you are using the latest version; %s.' % update_cmd - msg += ' Be sure to call yt-dlp with the --verbose flag and include its complete output.' + msg = ('please report this issue on https://github.com/yt-dlp/yt-dlp , ' + 'filling out the "Broken site" issue template properly. ' + 'Confirm you are on the latest version using -U') before = before.rstrip() if not before or before.endswith(('.', '!', '?')): |