fix: sider fix
This commit is contained in:
parent
6a599f77eb
commit
ca4d220f14
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ class Workspace(Document):
|
|||
try:
|
||||
if not isinstance(loads(self.content), list):
|
||||
raise
|
||||
except:
|
||||
except Exception:
|
||||
frappe.throw(_("Content data shoud be a list"))
|
||||
|
||||
duplicate_exists = frappe.db.exists("Workspace", {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue