Forgot to remove \r

This commit is contained in:
Gino Lisignoli 2013-02-13 16:43:08 +13:00
parent 7311fef854
commit 1528d6642d
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -306,7 +306,7 @@ def report_progress(self, percent_str, data_len_str, speed_str, eta_str):
if self.params.get('noprogress', False): if self.params.get('noprogress', False):
return return
if self.params.get('newline', True): if self.params.get('newline', True):
self.to_screen(u'\r[download] %s of %s at %s ETA %s' % self.to_screen(u'[download] %s of %s at %s ETA %s' %
(percent_str, data_len_str, speed_str, eta_str)) (percent_str, data_len_str, speed_str, eta_str))
else: self.to_screen(u'\r[download] %s of %s at %s ETA %s' % else: self.to_screen(u'\r[download] %s of %s at %s ETA %s' %
(percent_str, data_len_str, speed_str, eta_str), skip_eol=True) (percent_str, data_len_str, speed_str, eta_str), skip_eol=True)