use week title in email
This commit is contained in:
parent
778b6836de
commit
5b2670859f
3 changed files with 16 additions and 3 deletions
|
|
@ -28,7 +28,7 @@ def send_week(monday):
|
|||
year, month, day = monday.split('-')
|
||||
body = views.week(year, month, day)
|
||||
name = 'weekly-digest-%s' % monday
|
||||
subject = 'Phantas.ma weekly update %s' % views.format_week(monday)
|
||||
subject = views.format_subject(monday)
|
||||
return send_email(name, subject, body)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue