From ece43a78c943e66b25172ce9bd59af2b04db0510 Mon Sep 17 00:00:00 2001 From: Mickael Date: Sat, 8 Jun 2019 23:38:43 +0200 Subject: [PATCH] same color --- script/getstats.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/script/getstats.py b/script/getstats.py index a526a39..09ba996 100644 --- a/script/getstats.py +++ b/script/getstats.py @@ -59,15 +59,16 @@ while True: begin = end end = begin + monthdelta(1) + color = getColor() messageByChannel = { "label": channel['name'], - "backgroundColor": getColor(), + "backgroundColor": color, "data": dataMess } userByChannel = { "label": channel['name'], - "backgroundColor": getColor(), + "backgroundColor": color, "data": dataUsers }