Make `bug_reports_message()` fully updatable

This commit is contained in:
dirkf 2024-04-05 13:33:53 +01:00 committed by GitHub
parent 8d55e43949
commit e83b4e4638
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 4 deletions

View File

@ -2376,10 +2376,7 @@ def bug_reports_message(before=';'):
update_cmd = 'type youtube-dl -U to update'
else:
update_cmd = 'see https://yt-dl.org/update on how to update'
msg = '; please report this issue on https://yt-dl.org/bug .'
msg += ' Make sure you are using the latest version; %s.' % update_cmd
msg += ' Be sure to call youtube-dl with the --verbose flag and include its complete output.'
return msg
return '; please report this issue on https://yt-dl.org/bug .'
class YoutubeDLError(Exception):