commit | c697526382d0740ff247e00d549608198088b490 | [log] [tgz] |
---|---|---|
author | tunde <tundebabzy@gmail.com> | Tue Aug 01 17:00:14 2017 +0100 |
committer | tunde <tundebabzy@gmail.com> | Wed Aug 02 14:20:23 2017 +0100 |
tree | 88ccc93373fe1cdead107ce9031915018d942f33 | |
parent | 3a512af0e26e4fb291daf2fa603da776c8567ccb [diff] |
except in python 3 compatible style
diff --git a/erpnext/hr/doctype/process_payroll/process_payroll.py b/erpnext/hr/doctype/process_payroll/process_payroll.py index b58c787..287ce61 100644 --- a/erpnext/hr/doctype/process_payroll/process_payroll.py +++ b/erpnext/hr/doctype/process_payroll/process_payroll.py
@@ -311,7 +311,7 @@ journal_entry.submit() jv_name = journal_entry.name self.update_salary_slip_status(jv_name = jv_name) - except Exception, e: + except Exception as e: frappe.msgprint(e) return jv_name