fix: translation
This commit is contained in:
parent
58d75ad5d7
commit
3a090e7138
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ class Dashboard(Document):
|
|||
try:
|
||||
json.loads(self.chart_options)
|
||||
except ValueError as error:
|
||||
frappe.throw(_("Invalid json added in the custom options: %s" % error))
|
||||
frappe.throw(_("Invalid json added in the custom options: {0}").format(error))
|
||||
|
||||
@frappe.whitelist()
|
||||
def get_permitted_charts(dashboard_name):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue