mirror of
https://github.com/EDCD/EDDN.git
synced 2026-11-30 02:22:04 +03:00
Fix Validator FormatChecker
This commit is contained in:
1 parent
e80f559931
commit
059dfdd6e5
1 file changed
+1
-1
@@ -31,7 +31,7 @@ class Validator(object):
|
||||
|
||||
schema = self.schemas[schemaRef]
|
||||
try:
|
||||
jsValidate(json_object, schema, format_checker=jsonschema.FormatChecker())
|
||||
jsValidate(json_object, schema, format_checker=FormatChecker())
|
||||
except ValidationError as e:
|
||||
results.add(ValidationSeverity.ERROR, e)
|
||||
|
||||
|
||||
Reference in new issue
Block a user