From f0c3dcc3aff9a5b6480a1567c839bec522f74ac6 Mon Sep 17 00:00:00 2001 From: "Marcus \"Chaosblog" Date: Thu, 19 Jan 2012 19:42:32 +0100 Subject: [PATCH] changed mail - only placeholder money shown without any decimal place changed currency from USD to EUR --- templates/email.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/email.txt b/templates/email.txt index 16c6f27..ba21384 100644 --- a/templates/email.txt +++ b/templates/email.txt @@ -1,6 +1,6 @@ ## -*- coding: utf-8 -*- 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]))} % if punt: @@ -23,11 +23,11 @@ People who have not yet started: % endif Beer pool: -This week: $${5 * len(lame)}.00 -Total: $${pool} -Paid: $${paid} +This week: € ${5 * len(lame)} +Total: € ${pool} +Paid: € ${paid} Individual debts: % for (u, v) in sorted(debts, key=lambda p:p[1], reverse=True): -${"%20s $%d" % (u, v)} +${u"%20s %d \u20AC" % (u, v)} % endfor