Skip to content

Commit aa62b34

Browse files
authored
fix(LocalRegistry): fix string joining in dir not found error case (#213)
1 parent 457ace2 commit aa62b34

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

modflow_devtools/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ def __init__(
115115
path = [Path(p).expanduser().resolve().absolute() for p in path] # type: ignore
116116
missing = [p for p in path if not p.is_dir()] # type: ignore
117117
if any(missing):
118+
missing = [str(p) for p in missing] # type: ignore
118119
raise NotADirectoryError(
119120
f"Directory paths not found: {', '.join(missing)}" # type: ignore
120121
)

0 commit comments

Comments
 (0)