From 6676eaf88f86d8b716e1a45d39179533ec0500ec Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 12 May 2013 14:02:50 +0200 Subject: [PATCH] Minor fix --- lib/core/progress.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/core/progress.py b/lib/core/progress.py index 82a24913f..7dd80507c 100644 --- a/lib/core/progress.py +++ b/lib/core/progress.py @@ -94,8 +94,11 @@ class ProgressBar(object): self._oldProgBar = self._progBar dataToStdout("\r%s %d/%d%s" % (self._progBar, self._amount, self._max, (" ETA %s" % self._convertSeconds(int(eta))) if eta is not None else "")) if self._amount >= self._max: - dataToStdout("\r%s\r" % (" " * self._width)) - kb.prependFlag = False + if not conf.liveTest: + dataToStdout("\r%s\r" % (" " * self._width)) + kb.prependFlag = False + else: + dataToStdout("\n") def __str__(self): """