diff --git a/lms/lms/doctype/lms_batch/lms_batch.py b/lms/lms/doctype/lms_batch/lms_batch.py index 33942505..8cd2c7d8 100644 --- a/lms/lms/doctype/lms_batch/lms_batch.py +++ b/lms/lms/doctype/lms_batch/lms_batch.py @@ -388,8 +388,5 @@ def send_email_to_students(batch, subject, reply_to, message): frappe.only_for("Moderator") students = frappe.get_all("Batch Student", {"parent": batch}, pluck="student") frappe.sendmail( - recipients=students, - subject=subject, - reply_to=reply_to, - message=message + recipients=students, subject=subject, reply_to=reply_to, message=message )