diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2022-02-13 13:17:49 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2022-02-13 13:19:42 +0100 |
| commit | c78f1b08f451027ffaf3666710433442fdb3031e (patch) | |
| tree | 1e7aa98c3eaa21c707a899f9552f1f3345869e1b | |
| parent | 815844919f0d9e983246fc8b2d3ef197a8a90145 (diff) | |
| download | quatuorbellefeuille.com-c78f1b08f451027ffaf3666710433442fdb3031e.tar.xz | |
Show most recent concerts first
| -rwxr-xr-x | build-concerts.py | 4 |
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 = { |
