mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-04-05 06:15:31 +00:00
add a modeFilter module
This commit is contained in:
parent
35c6de4c54
commit
2e9681b7d4
5 changed files with 60 additions and 18 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue