From 105920cd8334e6e6e35fa90828dbd08e78aac71d Mon Sep 17 00:00:00 2001 From: Nicolargo Date: Tue, 6 Jan 2015 22:15:55 +0100 Subject: [PATCH] Correct a bug with Docker module and server mode --- glances/plugins/glances_docker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glances/plugins/glances_docker.py b/glances/plugins/glances_docker.py index 273adf9d..96995c8d 100644 --- a/glances/plugins/glances_docker.py +++ b/glances/plugins/glances_docker.py @@ -111,7 +111,7 @@ class Plugin(GlancesPlugin): self.reset() # The Docker-py lib is mandatory - if not docker_tag or self.args.disable_docker: + if not docker_tag or (self.args is not None and self.args.disable_docker): return self.stats if self.get_input() == 'local':