Show More
@@ -156,7 +156,8 b' class progbar(object):' | |||
|
156 | 156 | if topic not in self.topics: |
|
157 | 157 | self.topics.append(topic) |
|
158 | 158 | now = time.time() |
|
159 |
if now - self.lastprint > self.refresh |
|
|
159 | if (now - self.lastprint >= self.refresh | |
|
160 | and topic == self.topics[-1]): | |
|
160 | 161 | self.lastprint = now |
|
161 | 162 | self.show(topic, pos, item, unit, total) |
|
162 | 163 | return orig(topic, pos, item=item, unit=unit, total=total) |
General Comments 0
You need to be logged in to leave comments.
Login now