mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-01 14:08:34 +03:00
Correct a bug with Docker module and server mode
This commit is contained in:
parent
e674cfb25a
commit
105920cd83
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user