]> rtime.felk.cvut.cz Git - hubacji1/coffee-getter.git/commitdiff
Show stats for 3 and more drinkers
authorJiri Vlasak <jiri.vlasak.2@cvut.cz>
Mon, 10 May 2021 07:39:37 +0000 (09:39 +0200)
committerJiri Vlasak <jiri.vlasak.2@cvut.cz>
Mon, 10 May 2021 07:39:37 +0000 (09:39 +0200)
run/top5_mate_stats.py

index 2cb6503373dcd5bf3ad34caef05a155f12c83212..71e2de94d796124b41122c62ee0a599a5fee7f86 100755 (executable)
@@ -6,8 +6,8 @@ from cbgetter import CoffeebotGetter
 if __name__ == "__main__":
     g = CoffeebotGetter()
     g.loadTopMateDrinkers()
-    if len(g.top) > 3:
+    if len(g.top) >= 3:
         g.sendMsgToSlack()
     g.load_top_tea_drinkers()
-    if len(g.top) > 3:
+    if len(g.top) >= 3:
         g.sendMsgToSlack()