From 54df2ff1f458129b4921da8d1b3e7f5670ad2a11 Mon Sep 17 00:00:00 2001 From: morganamilo Date: Tue, 25 Dec 2018 05:48:32 +0000 Subject: [PATCH] Ranges are exclusive --- plugins/adventofcode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/adventofcode.py b/plugins/adventofcode.py index 9a93c8b..d7f6870 100755 --- a/plugins/adventofcode.py +++ b/plugins/adventofcode.py @@ -20,7 +20,7 @@ for position, member in enumerate(sorted(members.values(), key=lambda k: k['local_score'], reverse=True)): stars = "" - for n in range(1,25): + for n in range(1,26): days = member['completion_day_level'] if str(n) in days and days[str(n)]: if "2" in days[str(n)]: