From ada99c0af5665828abc725923bf2f104c577c852 Mon Sep 17 00:00:00 2001 From: Ultrabug Date: Tue, 31 Mar 2015 13:14:25 +0200 Subject: move config parameters on every module docstring, overall QA --- py3status/modules/glpi.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'py3status/modules/glpi.py') diff --git a/py3status/modules/glpi.py b/py3status/modules/glpi.py index 708ed4f..3c75c75 100644 --- a/py3status/modules/glpi.py +++ b/py3status/modules/glpi.py @@ -2,6 +2,14 @@ """ Display the total number of open tickets from GLPI. +Configuration parameters: + - critical : set bad color above this threshold + - db : database to use + - host : database host to connect to + - password : login password + - user : login user + - warning : set degraded color above this threshold + It features thresholds to colorize the output and forces a low timeout to limit the impact of a server connectivity problem on your i3bar freshness. """ @@ -11,7 +19,8 @@ import MySQLdb class Py3status: - + """ + """ # available configuration parameters critical = 20 db = '' -- cgit v1.3