From 455a15e2dcf29b4712d92a89a95ad5f3ddad69a1 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Thu, 3 Feb 2022 20:32:10 +0530 Subject: [cleanup,docs] Minor fixes Closes #2541, #2484 --- yt_dlp/utils.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'yt_dlp/utils.py') 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(('.', '!', '?')): -- cgit v1.2.3