1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-05-19 11:39:28 +00:00

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

View file

@ -2376,10 +2376,7 @@ def bug_reports_message(before=';'):
update_cmd = 'type youtube-dl -U to update' update_cmd = 'type youtube-dl -U to update'
else: else:
update_cmd = 'see https://yt-dl.org/update on how to update' update_cmd = 'see https://yt-dl.org/update on how to update'
msg = '; please report this issue on https://yt-dl.org/bug .' return '; 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
class YoutubeDLError(Exception): class YoutubeDLError(Exception):