[cleanup] Misc

This commit is contained in:
pukkandan
2023-03-04 22:40:08 +05:30
parent eb8fd6d044
commit 392389b7df
8 changed files with 46 additions and 38 deletions

View File

@@ -3784,7 +3784,7 @@ class YoutubeDL:
klass = type(self)
write_debug(join_nonempty(
f'{"yt-dlp" if REPOSITORY == "yt-dlp/yt-dlp" else REPOSITORY} version',
__version__ + {'stable': '', 'nightly': '*'}.get(CHANNEL, f' <{CHANNEL}>'),
f'{CHANNEL}@{__version__}',
f'[{RELEASE_GIT_HEAD[:9]}]' if RELEASE_GIT_HEAD else '',
'' if source == 'unknown' else f'({source})',
'' if _IN_CLI else 'API' if klass == YoutubeDL else f'API:{self.__module__}.{klass.__qualname__}',