summaryrefslogtreecommitdiff
path: root/helpers.py
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2023-04-04 00:06:11 +0200
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2023-04-04 00:06:11 +0200
commita96b4464769132403f9cfa72f488efdd778d357e (patch)
tree3dd0b2a0897b7628c6a64307fcd2a90f56a13e6b /helpers.py
parent09438c049bc40c75ba5893e9836801169c9d81e0 (diff)
downloadquatuorbellefeuille.com-a96b4464769132403f9cfa72f488efdd778d357e.tar.xz
Fix index generation when there are no next concerts yet
Diffstat (limited to 'helpers.py')
-rw-r--r--helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers.py b/helpers.py
index c46e652..8ff2b96 100644
--- a/helpers.py
+++ b/helpers.py
@@ -153,7 +153,7 @@ def split_concerts(concerts, threshold):
cutoff = i
break
- return reversed(concerts[:cutoff]), concerts[cutoff:]
+ return concerts[:cutoff], concerts[cutoff:]
_TOUCHUPS = (