fix: Minor fix

This commit is contained in:
scmmishra 2019-03-06 15:26:20 +05:30
parent 4a7e2c1e2f
commit 92ab107b60

View File

@ -44,7 +44,7 @@ class Student(Document):
def create_student_user(self):
"""Create a website user for student creation if not already exists"""
if not frappe.db.exists("User", self.student_email_id)
if not frappe.db.exists("User", self.student_email_id):
student_user = frappe.get_doc({
'doctype':'User',
'first_name': self.first_name,