Skip to content
Permalink
Browse files

accurate validation errors in dicts

  • Loading branch information...
jabdoa2 committed May 30, 2019
1 parent 10473b5 commit 240c4f9faabd58b8e96b3509b9a7d28ad0fc13fc
Showing with 1 addition and 1 deletion.
  1. +1 −1 mpf/core/config_validator.py
@@ -362,7 +362,7 @@ def _validate_dict_or_omap(self, item_type, validation, validation_failure_info,

for k, v in item.items():
item_dict[self.validate_item(k, validators[0], validation_failure_info)] = (
self.validate_item(v, validators[1], validation_failure_info))
self.validate_item(v, validators[1], (validation_failure_info, k)))
return item_dict

def check_for_invalid_sections(self, spec, config,

0 comments on commit 240c4f9

Please sign in to comment.
You can’t perform that action at this time.