changed mail - only placeholder

money shown without any decimal place
changed currency from USD to EUR
This commit is contained in:
Marcus "Chaosblog 2012-01-19 19:42:32 +01:00
parent 634b0f00a1
commit f0c3dcc3af
1 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
## -*- coding: utf-8 -*- ## -*- coding: utf-8 -*-
Subject: IRON BLOGGER results for the week beginning ${week_start.strftime("%F")} Subject: IRON BLOGGER results for the week beginning ${week_start.strftime("%F")}
To: iron-blogger@mit.edu To: addyourmail@here
SLACKERS: ${", ".join(sorted([u.username for u in lame]))} SLACKERS: ${", ".join(sorted([u.username for u in lame]))}
% if punt: % if punt:
@ -23,11 +23,11 @@ People who have not yet started:
% endif % endif
Beer pool: Beer pool:
This week: $${5 * len(lame)}.00 This week: € ${5 * len(lame)}
Total: $${pool} Total: ${pool}
Paid: $${paid} Paid: ${paid}
Individual debts: Individual debts:
% for (u, v) in sorted(debts, key=lambda p:p[1], reverse=True): % for (u, v) in sorted(debts, key=lambda p:p[1], reverse=True):
${"%20s $%d" % (u, v)} ${u"%20s %d \u20AC" % (u, v)}
% endfor % endfor