def reset_stats_history(self):
        """Reset the stats history (dict of GlancesAttribute)."""
        if self.history_enable():
            reset_list = [a['name'] for a in self.get_items_history_list()]
            logger.debug("Reset history for plugin {} (items: {})".format(self.plugin_name, reset_list))
            self.stats_history.reset()
def reset_stats_history ( self ) : if self . history_enable ( ) : reset_list = [ a [ 'name' ] for a in self . get_items_history_list ( ) ] logger . debug ( "Reset history for plugin {} (items: {})" . format ( self . plugin_name , reset_list ) ) self . stats_history . reset ( )
Reset the stats history (dict of GlancesAttribute).