Compare commits

...

3 Commits

Author SHA1 Message Date
Simon Sawicki
3273df4266
Merge 6db8eca55d into 6365e92589 2024-11-16 17:57:18 +01:00
Simon Sawicki
6db8eca55d
oops 2024-11-12 00:15:50 +01:00
Simon Sawicki
b5976e9bd4
[core] Report different bug reports message if using stable/git 2024-11-12 00:02:58 +01:00

View File

@ -940,9 +940,13 @@ def formatSeconds(secs, delim=':', msec=False):
def bug_reports_message(before=';'): def bug_reports_message(before=';'):
from ..update import REPOSITORY from ..update import REPOSITORY, detect_variant
from ..version import CHANNEL
msg = (f'please report this issue on https://github.com/{REPOSITORY}/issues?q= , ' msg = (
'if possible, please pull the latest changes from the master branch' if detect_variant() == 'source'
else 'please check if the bug is already fixed in the latest nightly version' if CHANNEL == 'stable'
else f'please report this issue on https://github.com/{REPOSITORY}/issues?q= , '
'filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U') 'filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U')
before = before.rstrip() before = before.rstrip()