done

def done(self):
        """
        done
        """
        self.elapsed = time.time() - self.start
        elapsed_disp = self.format_time(self.elapsed)
        stream = sys.stderr
        bar_template = '%s|%s%s| \033[32m%s/%s - %s\033[0m\r'
        self.last_progress = "%.1f" % float(self.last_progress)
        self.expected_size = "%.1f" % float(self.expected_size)

        if not self.hide:
            # Print completed bar with elapsed time
            stream.write('\r')
            stream.write('                                                                                        \r')

            if len(remove_color(self.label.strip())) == 0:
                bar_template = '%s|%s%s| \033[34m%s/%s\033[0m\r'
                stream.write(bar_template % (
                    elapsed_disp, self.filled_char * self.width,
                    self.empty_char * 0, self.last_progress,
                    self.expected_size))
            else:
                stream.write(bar_template % (
                    self.label, self.filled_char * self.width,
                    self.empty_char * 0, self.last_progress,
                    self.expected_size, elapsed_disp))

            stream.write('\n')
            stream.flush()