From a7119803c420373903ac289eb44fc01b64a58ef7 Mon Sep 17 00:00:00 2001 From: Ultrabug Date: Wed, 11 Mar 2015 18:49:31 +0100 Subject: normalize module direct testing with a proper config --- py3status/modules/ns_checker.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'py3status/modules/ns_checker.py') diff --git a/py3status/modules/ns_checker.py b/py3status/modules/ns_checker.py index a79fdd6..5fa6384 100644 --- a/py3status/modules/ns_checker.py +++ b/py3status/modules/ns_checker.py @@ -76,6 +76,10 @@ if __name__ == "__main__": """ from time import sleep x = Py3status() + config = { + 'color_good': '#00FF00', + 'color_bad': '#FF0000', + } while True: - print(x.ns_checker([], {})) + print(x.ns_checker([], config)) sleep(1) -- cgit v1.3