diff --git a/app/listmonk/tasks.py b/app/listmonk/tasks.py index cf4e307..f6de4fe 100644 --- a/app/listmonk/tasks.py +++ b/app/listmonk/tasks.py @@ -35,7 +35,7 @@ def send_week(): monday = views.get_monday(now) week_obj.published = now week_obj.save() - if not utils.send_week(monday): + if not utils.send_week(now.strftime('%Y-%m-%d')): message = "weekly newsletter ready, confirm at https://list.phantas.ma/admin/campaigns" r = rpc.send(message, group=settings.SIGNAL_MODERATORS_GROUP)