Method
__init__
(self, minValue=0, maxValue=10, totalWidth=None)
Source from the content-addressed store, hash-verified
| 20 | """ |
| 21 | |
| 22 | def __init__(self, minValue=0, maxValue=10, totalWidth=None): |
| 23 | self._progBar = "[]" |
| 24 | self._min = int(minValue) |
| 25 | self._max = int(maxValue) |
| 26 | self._span = max(self._max - self._min, 0.001) |
| 27 | self._width = totalWidth if totalWidth else conf.progressWidth |
| 28 | self._amount = 0 |
| 29 | self._start = None |
| 30 | self.update() |
| 31 | |
| 32 | def _convertSeconds(self, value): |
| 33 | seconds = value |
Callers
nothing calls this directly
Tested by
no test coverage detected