1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 01:02:48 +01:00

Fix check_formats output being written to stdout when -qv

Closes #1229
This commit is contained in:
pukkandan 2021-10-11 03:59:55 +05:30
parent 0481e266f5
commit a169858f24

View File

@ -2485,7 +2485,7 @@ def dl(self, name, info, subtitle=False, test=False):
verbose = self.params.get('verbose') verbose = self.params.get('verbose')
params = { params = {
'test': True, 'test': True,
'quiet': not verbose, 'quiet': self.params.get('quiet') or not verbose,
'verbose': verbose, 'verbose': verbose,
'noprogress': not verbose, 'noprogress': not verbose,
'nopart': True, 'nopart': True,