Skip to content
Snippets Groups Projects
Unverified Commit 76a59843 authored by Siraj R Aizlewood's avatar Siraj R Aizlewood
Browse files

Ran Black

parent baa5e3fe
No related branches found
No related tags found
No related merge requests found
...@@ -188,7 +188,9 @@ class RouteLayer: ...@@ -188,7 +188,9 @@ class RouteLayer:
# get chosen route object # get chosen route object
matching_routes = [route for route in self.routes if route.name == top_class] matching_routes = [route for route in self.routes if route.name == top_class]
if not matching_routes: if not matching_routes:
logger.error(f"No route found with name {top_class}. Check to see if any Routes have been defined.") logger.error(
f"No route found with name {top_class}. Check to see if any Routes have been defined."
)
return RouteChoice() return RouteChoice()
route = matching_routes[0] route = matching_routes[0]
threshold = ( threshold = (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment