Small email template update
[iron-blogger] / templates / email.txt
index 6edfccbba07d36d1be069325e6fc259ac0c28894..aab3428bb769a9254a0c042ee4f4e142c3a3d4bf 100644 (file)
@@ -1,6 +1,8 @@
 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]))}
+
 People who posted:
 % for u in sorted(good, key=lambda u:u.username):
  ${u.username}:
@@ -9,12 +11,6 @@ People who posted:
  % endfor
 % endfor
 
-People who failed to post:
-<% cash = 0 %>\
-% for u in sorted(lame, key=lambda u:u.username):
- ${u.username}
-% endfor
-
 % if skip:
 People who have not yet started:
 % for u in sorted(skip,  key=lambda u:u.username):

Benjamin Mako Hill || Want to submit a patch?