fix: sider fix

This commit is contained in:
shariquerik 2021-08-19 14:20:18 +05:30
parent 6a599f77eb
commit ca4d220f14

View file

@ -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", {