def reset(self):
        """
        Reset the progressbar to 0, hide it and set original text message at
        background.
        """
        self.hide()
        self.tag.class_name = "progress-bar progress-bar-striped active"
        self.tag.aria_valuemin = 0
        self.tag.style.width = "{}%".format(0)
        self.tag.text = self.original_message
def reset ( self ) : self . hide ( ) self . tag . class_name = "progress-bar progress-bar-striped active" self . tag . aria_valuemin = 0 self . tag . style . width = "{}%" . format ( 0 ) self . tag . text = self . original_message
Reset the progressbar to 0, hide it and set original text message at
        background.