[hotfix] unique job applicant
diff --git a/erpnext/hr/doctype/job_applicant/job_applicant.py b/erpnext/hr/doctype/job_applicant/job_applicant.py
index d1901a8..1bdd8fc 100644
--- a/erpnext/hr/doctype/job_applicant/job_applicant.py
+++ b/erpnext/hr/doctype/job_applicant/job_applicant.py
@@ -21,7 +21,7 @@
def check_email_id_is_unique(self):
if self.email_id:
- names = frappe.db.sql_list("""select name from `tabJob Application`
+ names = frappe.db.sql_list("""select name from `tabJob Applicant`
where email_id=%s and name!=%s""", (self.email_id, self.name))
if names: