Skip to content

Commit dbe4c09

Browse files
authored
Merge pull request #161 from boutproject/windows-compat
Use path.anchor instead of path.root for Windows compatibility
2 parents c52b3dd + 86c4e18 commit dbe4c09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xbout/load.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ def _expand_wildcards(path):
539539
"""Return list of filepaths matching wildcard"""
540540

541541
# Find first parent directory which does not contain a wildcard
542-
base_dir = Path(path.root)
542+
base_dir = Path(path.anchor)
543543

544544
# Find path relative to parent
545545
search_pattern = str(path.relative_to(base_dir))

0 commit comments

Comments
 (0)