Skip to content

Commit

Permalink
Merge pull request #6 from mirumee/fix-dispatcher
Browse files Browse the repository at this point in the history
fixed-dispatcher
  • Loading branch information
pkucmus authored Apr 2, 2024
2 parents a830792 + 740f89b commit c55c956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/smyth/dispatcher/dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def build_process_groups(
return process_groups

def get_process_definition(self, path: str) -> ProcessDefinition:
for path, process_def in self.process_definitions.items():
for process_def in self.process_definitions.values():
if process_def.url_path.match(path):
return process_def
raise ProcessDefinitionNotFoundError(
Expand Down

0 comments on commit c55c956

Please sign in to comment.