summaryrefslogtreecommitdiff
path: root/build-concerts.py
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2022-02-13 13:17:49 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2022-02-13 13:19:42 +0100
commitc78f1b08f451027ffaf3666710433442fdb3031e (patch)
tree1e7aa98c3eaa21c707a899f9552f1f3345869e1b /build-concerts.py
parent815844919f0d9e983246fc8b2d3ef197a8a90145 (diff)
downloadquatuorbellefeuille.com-c78f1b08f451027ffaf3666710433442fdb3031e.tar.xz
Show most recent concerts first
Diffstat (limited to 'build-concerts.py')
-rwxr-xr-xbuild-concerts.py4
1 files changed, 2 insertions, 2 deletions
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 = {