Correct a bug with Docker module and server mode

This commit is contained in:
Nicolargo 2015-01-06 22:15:55 +01:00 committed by Alessio Sergi
parent ef4f04e707
commit 33ea6415de

View File

@ -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':