email: Don't show an empty punts section
This commit is contained in:
parent
a9dc3ade47
commit
030f337da7
|
@ -2,7 +2,9 @@ Subject: IRON BLOGGER results for the week beginning ${week_start.strftime("%F")
|
|||
To: iron-blogger@mit.edu
|
||||
|
||||
SLACKERS: ${", ".join(sorted([u.username for u in lame]))}
|
||||
% if punt:
|
||||
PUNTED for balance greater than $30: ${", ".join(sorted(punt))}
|
||||
% endif
|
||||
|
||||
People who posted:
|
||||
% for u in sorted(good, key=lambda u:u.username):
|
||||
|
|
Loading…
Reference in a new issue