mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2024-11-21 06:41:55 +00:00
premit zero attendance expoer to prevent crashes
This commit is contained in:
parent
3473a6fba3
commit
eff0d61f54
@ -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
|
||||
|
|
@ -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 += '<tr><td>'
|
||||
|
Loading…
Reference in New Issue
Block a user