'Update the progress bar to the given value (out of the total
given to the constructor.'

def update(self, value):

    if self._is_spinner:
        next(self._iter)
    else:
        self._obj.update(value)
