From c78f1b08f451027ffaf3666710433442fdb3031e Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sun, 13 Feb 2022 13:17:49 +0100 Subject: Show most recent concerts first --- build-concerts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build-concerts.py') diff --git a/build-concerts.py b/build-concerts.py index 9c8176a..e41dda1 100755 --- a/build-concerts.py +++ b/build-concerts.py @@ -130,9 +130,9 @@ def read_concerts(filename): def split_concerts(concerts, threshold): for i, c in enumerate(concerts): if c.time > threshold: - return concerts[:i], concerts[i:] + return reversed(concerts[:i]), concerts[i:] - return concerts, () + return reversed(concerts), () LOCALIZED_TEXT = { -- cgit v1.2.3