From 1791142218b7ef508d84625f58617a7310a3f31a Mon Sep 17 00:00:00 2001 From: "Phyks (Lucas Verney)" Date: Sun, 29 Oct 2017 02:39:15 +0200 Subject: [PATCH] Check that area, rooms etc are lists in config --- flatisfy/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/flatisfy/config.py b/flatisfy/config.py index 7f4bc28..be1cee0 100644 --- a/flatisfy/config.py +++ b/flatisfy/config.py @@ -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