graphite: use post_config_hook
@@ -102,6 +102,9 @@ class Py3status:
value_format = True
value_round = True
+ def post_config_hook(self):
+ self._validate_config()
+
def _reset_notifications(self):
"""
"""
@@ -219,7 +222,6 @@ class Py3status:
def graphite(self):
"""
"""
- self._validate_config()
self._reset_notifications()
color_key, r_json = self._render_graphite_json()
