From eff0d61f544a8decf5498278be8f3413bfa2ccf3 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Wed, 30 Oct 2024 18:40:34 +0200 Subject: [PATCH] premit zero attendance expoer to prevent crashes --- folk/folk.csv | 2 +- scripts/make-folklist.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/folk/folk.csv b/folk/folk.csv index 86cadb8f4..99820529f 100644 --- a/folk/folk.csv +++ b/folk/folk.csv @@ -387,7 +387,7 @@ Aiora Zabala,Zabala,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1,,,,,,,,,,,,, Sarah Livia Zerbes,Zerbes,1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,-1,-1,,,,,,,,,,,, Aidan Kuhlmann,Kuhlmann,,,i/2024/aidan.jpg,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1 Aila Taylor,Taylor,,,i/2024/aila.jpg,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1 -Alex Faunce,Faunce,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1 +Alex Faunce,Faunce,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, Colin Foord,Foord,,,i/2024/colin.jpg,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1 Ellie Davies,Davies,,,i/2024/ellie.jpg,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1 Fiona Zhang,Zhang,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1 diff --git a/scripts/make-folklist.py b/scripts/make-folklist.py index c37e67f7a..73c2d7616 100644 --- a/scripts/make-folklist.py +++ b/scripts/make-folklist.py @@ -64,8 +64,8 @@ for r in lines[1:]: expos_caving = len([t for t in years if t == "1"]) expos_notcaving = len([t for t in years if t == "-1"]) if(expos_caving == 0 and expos_notcaving == 0): - sys.stderr.write("Error processing " + name + ". No attendances found\n") - sys.exit(1) + sys.stderr.write("Warning: processing " + name + ". No attendances found\n") + # sys.exit(1) if(expos_caving and name != 'Rover Richardson' and name != 'Bier Tent'): headcount += 1 if mug: pics +=1 output += ''