Skip to content

Commit 697af9d

Browse files
committed
fix raising ValidationError
1 parent 4d373ba commit 697af9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tw2/dynforms/widgets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def _validate(self, value, state=None):
133133
self._validated = True
134134
value = value or {}
135135
if not isinstance(value, dict):
136-
raise vd.ValidationError('corrupt', self.validator)
136+
raise twc.ValidationError('corrupt', self.validator)
137137
self.value = value
138138
any_errors = False
139139
data = {}

0 commit comments

Comments
 (0)