Skip to content

Commit 5f39fd8

Browse files
kevin1kevin1kCarreau
authored andcommitted
Fix str error in path again
1 parent 7e856bd commit 5f39fd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setupbase.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def check_package_data(package_data):
6565
for d in data:
6666
path = pkg_root / d
6767
if "*" in str(path):
68-
assert len(glob(path)) > 0, "No files match pattern %s" % path
68+
assert len(glob(str(path))) > 0, "No files match pattern %s" % path
6969
else:
7070
assert path.exists(), f"Missing package data: {path}"
7171

0 commit comments

Comments
 (0)