mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-24 00:01:54 +01:00
Compare commits
3 Commits
1dd660e385
...
c7a390b72c
Author | SHA1 | Date | |
---|---|---|---|
|
c7a390b72c | ||
|
6db8eca55d | ||
|
b5976e9bd4 |
|
@ -936,10 +936,14 @@ 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 = (
|
||||||
'filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U')
|
'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')
|
||||||
|
|
||||||
before = before.rstrip()
|
before = before.rstrip()
|
||||||
if not before or before.endswith(('.', '!', '?')):
|
if not before or before.endswith(('.', '!', '?')):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user