fix send_week

This commit is contained in:
j 2025-02-23 11:32:02 -05:00
commit 9d7659ef40

View file

@ -23,7 +23,8 @@ def get_auth(headers):
def send_week(monday):
from . import views
monday = views.get_monday(monday)
date = datetime.strptime(date, '%Y-%m-%d')
monday = views.get_monday(date)
year, month, day = monday.split('-')
body = views.week(year, month, day)
name = 'weekly-digest-%s' % monday