Skip to content

Commit

Permalink
fixup! fixup! amend! fixup! ModuleRouter: support paths in BASE
Browse files Browse the repository at this point in the history
  • Loading branch information
bajnokk committed Jun 15, 2023
1 parent 97f810d commit da0e4c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/satosa/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def join_paths(*paths, sep: typing.Optional[str] = None) -> str:

try:
return leading + sep.join(
[path.strip(sep) for path in filter(lambda p: p and p.strip(sep), paths)]
path.strip(sep) for path in filter(lambda p: p and p.strip(sep), paths)
)
except (AttributeError, TypeError) as err:
raise TypeError("Arguments must be strings") from err

0 comments on commit da0e4c6

Please sign in to comment.