Check that area, rooms etc are lists in config

This commit is contained in:
Lucas Verney 2017-10-29 02:39:15 +02:00
parent bea2c4ac17
commit 1791142218
1 changed files with 1 additions and 0 deletions

View File

@ -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