Skip to content

Commit

Permalink
Fix join_paths arg
Browse files Browse the repository at this point in the history
  • Loading branch information
zhong-al committed Dec 23, 2024
1 parent e3c52e5 commit a8f113c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/kabr_tools/utils/path.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from pathlib import Path


def join_paths(parts):
def join_paths(*parts):
assert len(parts) > 0, "At least one path must be provided"
return str(Path(*parts))

0 comments on commit a8f113c

Please sign in to comment.