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

View File

@ -91,6 +91,7 @@ def validate_config(config, check_with_data):
""" """
Check the bounds for numeric constraints. Check the bounds for numeric constraints.
""" """
assert isinstance(bounds, list)
assert len(bounds) == 2 assert len(bounds) == 2
assert all( assert all(
x is None or x is None or