Skip to content

Commit

Permalink
Merge branch '0.80.x' into service-mode-refactor-0.80
Browse files Browse the repository at this point in the history
  • Loading branch information
avanwinkle committed Jun 25, 2024
2 parents 34fa9a0 + 78ad3eb commit 8d3ec51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mpf/core/config_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ def _validate_type_subconfig(self, item, param, validation_failure_info):
# The inclusion of sound_pools causes a nested ducking subconfig that
# fails due to missing required properties. Check for an empty dict
# as subconfig and ignore it.
if item is None or not len(item):
if item is None or (item is Dict and not len(item)):
return {}
try:
attribute, base_spec_str = param.split(",", 1)
Expand Down

0 comments on commit 8d3ec51

Please sign in to comment.