add a modeFilter module

This commit is contained in:
Bastian Schroll 2019-03-09 12:12:35 +01:00
parent 35c6de4c54
commit 2e9681b7d4
5 changed files with 60 additions and 18 deletions

View file

@ -65,7 +65,7 @@ class RouterManager:
for route in router.get("route"):
routeType = route.get("type")
routeName = route.get("name")
routeConfig = route.get("Config", default=ConfigYAML()) # if no config - build a empty
routeConfig = route.get("config", default=ConfigYAML()) # if no config - build a empty
if routeType is None or routeName is None:
logging.error("type or name not found in route: %s", route)