diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2022-11-30 23:52:44 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2022-11-30 23:55:09 +0100 |
| commit | 7eda5da6e7b9fb8c26a49400fc01468063770353 (patch) | |
| tree | 55a673a459b847ca21075cefdfd863d440d6ad58 /build-concerts.py | |
| parent | 3d8c43ddce5fc7a1f1d21dd843d5ac7da609a581 (diff) | |
| download | quatuorbellefeuille.com-7eda5da6e7b9fb8c26a49400fc01468063770353.tar.xz | |
Add precision about next concert
Also prevent scripts from generating empty paragraphs.
Diffstat (limited to 'build-concerts.py')
| -rwxr-xr-x | build-concerts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build-concerts.py b/build-concerts.py index e1acfde..2290a1f 100755 --- a/build-concerts.py +++ b/build-concerts.py @@ -188,7 +188,7 @@ def print_concert_details(concert, lang): instructions = [ f' <p>{touchup_plaintext(line)}</p>' - for line in concert.instructions.splitlines() + for line in concert.instructions.splitlines() if line ] print(f' <div class="{" ".join(classes)}" id="{concert_id}">') |
