We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcb46e6 commit 8646bd5Copy full SHA for 8646bd5
packages/graphrag/graphrag/storage/file_pipeline_storage.py
@@ -53,7 +53,7 @@ def find(
53
for file in all_files:
54
match = file_pattern.search(f"{file}")
55
if match:
56
- filename = f"{file}".replace(self._base_dir, "", 1)
+ filename = f"{file}".replace(str(Path(self._base_dir)), "", 1)
57
if filename.startswith(os.sep):
58
filename = filename[1:]
59
yield filename
0 commit comments