From 46777f7f8c4aa0be02a9e306413c552b6ac360db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 13 Jul 2018 12:06:48 +0200 Subject: [PATCH] Removed unnecessary ['shema'] --- pillar/api/custom_field_validation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pillar/api/custom_field_validation.py b/pillar/api/custom_field_validation.py index dbaa335f..e4d0f9db 100644 --- a/pillar/api/custom_field_validation.py +++ b/pillar/api/custom_field_validation.py @@ -102,7 +102,7 @@ class ValidateCustomFields(Validator): return False try: - value = self.convert_properties(value, node_type['dyn_schema']['shema']) + value = self.convert_properties(value, node_type['dyn_schema']) except Exception as e: log.warning("Error converting form properties", exc_info=True)