def __init__(self, args=None, config=None):
        """Init the plugin."""
        super(Plugin, self).__init__(args=args,
                                     stats_init_value=[])
        self.args = args
        self.config = config

        # We want to display the stat in the curse interface
        self.display_curse = True

        # Init stats
        self.glances_folders = glancesFolderList(config)
def __init__ ( self , args = None , config = None ) : super ( Plugin , self ) . __init__ ( args = args , stats_init_value = [ ] ) self . args = args self . config = config self . display_curse = True self . glances_folders = glancesFolderList ( config )
Init the plugin.