diff options
author | Von Random <von@vdrandom.org> | 2019-03-06 13:01:06 +0300 |
---|---|---|
committer | Von Random <von@vdrandom.org> | 2019-03-06 13:01:06 +0300 |
commit | 26313c0564655e3d86d7acc5ebf89d97494578dd (patch) | |
tree | 5967413aa3526a2509fcdfe1ab91e9c5670a33a6 | |
parent | 261847493ec49b107bd0f6255369fc30553f0d07 (diff) |
completely remove global hide_ok to avoid ambiguity
-rwxr-xr-x | vdstatus | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -1,5 +1,4 @@ #!/usr/bin/python3 -# pylint: disable=C0111 import argparse import importlib import json @@ -14,7 +13,6 @@ DEFAULT_CONFIG = os.path.join(os.environ['HOME'], '.config/vdstatus/conf.yaml') DEFAULTS = { 'output_format': 'term', 'output_freq': 1, - 'hide_ok': False, 'plugins': [{'name': 'date'}] } @@ -52,7 +50,6 @@ class PluginRunner: outputs = list() for plugin in self.plugins_loaded: if \ - not self.conf['hide_ok'] or \ not plugin.conf['hide_ok'] or \ not plugin.hide: outputs.append(plugin.status) |