Codacy corrections

This commit is contained in:
Charles-Henri Decultot
2018-12-13 08:04:05 +00:00
parent 94899981d3
commit cbe63ec418
2 changed files with 2 additions and 2 deletions

View File

@@ -109,7 +109,7 @@ def add_account_subtype(account_subtype):
"doctype": "Account Subtype",
"account_subtype": account_subtype
}).insert()
except:
except Exception:
frappe.throw(frappe.get_traceback())
@frappe.whitelist()