Removed auto-assignment for unverified appointments
diff --git a/erpnext/crm/doctype/appointment/appointment.py b/erpnext/crm/doctype/appointment/appointment.py
index 2f14098..f32699e 100644
--- a/erpnext/crm/doctype/appointment/appointment.py
+++ b/erpnext/crm/doctype/appointment/appointment.py
@@ -33,12 +33,10 @@
 		self.lead = self.find_lead_by_email()
 
 	def after_insert(self):
-		# Auto assign
-		self.auto_assign()
-		# Check if lead was found 
 		if(self.lead):
 			# Create Calendar event
 			self.create_calendar_event()
+			self.auto_assign()
 		else:
 			# Set status to unverified
 			self.status = 'Unverified'
@@ -77,6 +75,7 @@
 		self.status = 'Open'
 		# Create calender event
 		self.create_calendar_event()
+		self.auto_assign()
 		self.save(ignore_permissions=True)
 		frappe.db.commit()