Merge pull request #13235 from achillesrasquinha/py3

removed has_key
diff --git a/erpnext/healthcare/doctype/patient_appointment/patient_appointment.py b/erpnext/healthcare/doctype/patient_appointment/patient_appointment.py
index b083302..926dc28 100755
--- a/erpnext/healthcare/doctype/patient_appointment/patient_appointment.py
+++ b/erpnext/healthcare/doctype/patient_appointment/patient_appointment.py
@@ -123,7 +123,7 @@
 				if available_slots:
 					appointments = []
 					
-				 	if schedule.service_unit:
+					if schedule.service_unit:
 						slot_name  = schedule.schedule+" - "+schedule.service_unit
 						allow_overlap = frappe.get_value('Patient Service Unit', schedule.service_unit, 'overlap_appointments')
 						if allow_overlap: