Skip to content

Commit

Permalink
black format
Browse files Browse the repository at this point in the history
  • Loading branch information
wochinge committed Nov 5, 2021
1 parent d00e465 commit 4016745
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rasa/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@ def find_route(suffix: Text, path: Text) -> Optional[Text]:
options[arg] = f"[{arg}]"

if not isinstance(route.handler, CompositionView):
handlers = [(list(route.methods)[0], route.name.replace("rasa.server.", ""))]
handlers = [
(list(route.methods)[0], route.name.replace("rasa.server.", ""))
]
else:
handlers = [
(method, find_route(v.__name__, endpoint) or v.__name__)
Expand Down

0 comments on commit 4016745

Please sign in to comment.