mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-05 05:09:11 +00:00
minor fix for key error
This commit is contained in:
@@ -27,6 +27,7 @@ def execute(filters=None):
|
|||||||
course_dict = values.get("course_dict")
|
course_dict = values.get("course_dict")
|
||||||
|
|
||||||
for student in args.students:
|
for student in args.students:
|
||||||
|
if student_details.get(student):
|
||||||
student_row = {}
|
student_row = {}
|
||||||
student_row["student"] = student
|
student_row["student"] = student
|
||||||
student_row["student_name"] = student_details[student]
|
student_row["student_name"] = student_details[student]
|
||||||
|
|||||||
Reference in New Issue
Block a user