cli: do not print extra blank line when noprogress passed

This commit is contained in:
Yuming Zhu 2017-07-26 11:56:16 +08:00 committed by Mike McLean
parent 26bd419054
commit 5df1e3e6e6
2 changed files with 2 additions and 2 deletions

View file

@ -491,7 +491,7 @@ def download_file(url, relpath, quiet=False, noprogress=False, size=None, num=No
c.setopt(c.XFERINFOFUNCTION, _download_progress)
c.perform()
c.close()
if not quiet:
if not (quiet or noprogress):
print('')