only add entities if they exist
@@ -41,6 +41,7 @@ class Config(object):
self.entities = {}
self.default_path_patterns = default_path_patterns
+ if entities:
for ent in entities:
self.entities[ent['name']] = Entity(**ent)
