fixed inconsistent tab error (#13339)

This commit is contained in:
Achilles Rasquinha 2018-03-20 14:07:25 +05:30 committed by Nabin Hait
parent d0ac69704f
commit 0575b3e1c3

View File

@ -36,7 +36,7 @@ def email_sending(project_name,frequency,date_start,date_end,progress,number_of_
msg += "</table>" msg += "</table>"
if len(holiday) == 0: if len(holiday) == 0:
email = frappe.db.sql("""SELECT user from `tabProject User` WHERE parent = %s;""", project_name) email = frappe.db.sql("""SELECT user from `tabProject User` WHERE parent = %s;""", project_name)
for emails in email: for emails in email:
frappe.sendmail(recipients=emails,subject=frappe._(project_name + ' ' + 'Summary'),message = msg) frappe.sendmail(recipients=emails,subject=frappe._(project_name + ' ' + 'Summary'),message = msg)
else: else:
pass pass