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:
parent
8d55e43949
commit
e83b4e4638
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue