mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-27 02:28:30 +00:00
except in python 3 compatible style
This commit is contained in:
@@ -311,7 +311,7 @@ class ProcessPayroll(Document):
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user