pull/11509/merge
Simon Sawicki 2 days ago committed by GitHub
commit 1b8806e0d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -941,10 +941,14 @@ def formatSeconds(secs, delim=':', msec=False):
def bug_reports_message(before=';'):
from ..update import REPOSITORY
msg = (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')
from ..update import REPOSITORY, detect_variant
from ..version import CHANNEL
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')
before = before.rstrip()
if not before or before.endswith(('.', '!', '?')):

Loading…
Cancel
Save