Progress bar update

This commit is contained in:
Jakub Roztocil 2013-04-10 13:07:05 -03:00
parent 36bc64e02f
commit 21613faa5a

View File

@ -164,7 +164,7 @@ class Download(object):
class Progress(object): class Progress(object):
CLEAR_LINE = '\r\033[K' CLEAR_LINE = '\r\033[K'
PROGRESS = '{percentage:0.2f} % ({downloaded}) of {total} ({speed}/s)' PROGRESS = '{percentage:0.2f}% ({downloaded}) of {total} ({speed}/s)'
PROGRESS_NO_CONTENT_LENGTH = '{downloaded} ({speed}/s)' PROGRESS_NO_CONTENT_LENGTH = '{downloaded} ({speed}/s)'
SUMMARY = '{downloaded} of {total} in {time:0.5f}s ({speed}/s)\n' SUMMARY = '{downloaded} of {total} in {time:0.5f}s ({speed}/s)\n'