Check that area, rooms etc are lists in config
This commit is contained in:
parent
bea2c4ac17
commit
1791142218
@ -91,6 +91,7 @@ def validate_config(config, check_with_data):
|
||||
"""
|
||||
Check the bounds for numeric constraints.
|
||||
"""
|
||||
assert isinstance(bounds, list)
|
||||
assert len(bounds) == 2
|
||||
assert all(
|
||||
x is None or
|
||||
|
Loading…
Reference in New Issue
Block a user