mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2025-12-09 07:14:36 +00:00
premit zero attendance expoer to prevent crashes
This commit is contained in:
@@ -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>'
|
||||
|
||||
Reference in New Issue
Block a user