mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2024-11-29 05:11:54 +00:00
Fix error reporting on make-folklist so error actually reported
This commit is contained in:
parent
ecd7241cd3
commit
cee7c14516
@ -19,7 +19,7 @@ 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.stdout.write("Error for", name)
|
||||
sys.stderr.write("Error processing " + name + ". No attendances found\n")
|
||||
sys.exit(1)
|
||||
if(expos_caving and name != 'Rover Richardson'): headcount += 1
|
||||
if mug: pics +=1
|
||||
|
Loading…
Reference in New Issue
Block a user