summaryrefslogtreecommitdiffstats
path: root/glances/stats_client.py
diff options
context:
space:
mode:
authornicolargo <nicolashennion@gmail.com>2016-04-24 17:51:55 +0200
committernicolargo <nicolashennion@gmail.com>2016-04-24 17:51:55 +0200
commit83b098a16c1c6ef7e99d6cf21cfca09dfb2ece7c (patch)
tree062ba43d067972025a93fefe267e648316d90edc /glances/stats_client.py
parent5481771263216ad28abd694a41f247d53e24893d (diff)
AMP is now compatible with Glances client/server mode
Diffstat (limited to 'glances/stats_client.py')
-rw-r--r--glances/stats_client.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/glances/stats_client.py b/glances/stats_client.py
index ad6a6370..2cd4a9e4 100644
--- a/glances/stats_client.py
+++ b/glances/stats_client.py
@@ -32,7 +32,7 @@ class GlancesStatsClient(GlancesStats):
def __init__(self, config=None, args=None):
"""Init the GlancesStatsClient class."""
- super(GlancesStatsClient, self).__init__()
+ super(GlancesStatsClient, self).__init__(config=config, args=args)
# Init the configuration
self.config = config
@@ -40,9 +40,6 @@ class GlancesStatsClient(GlancesStats):
# Init the arguments
self.args = args
- # Load AMPs, plugins and exports modules
- self.load_modules(self.args)
-
def set_plugins(self, input_plugins):
"""Set the plugin list according to the Glances server."""
header = "glances_"