Skip to content

Commit b408b0b

Browse files
Merge pull request #81 from AnnihilatorChess/patch-2
Fix Windows path resolution for normalization_path
2 parents 718df87 + 38ef1c5 commit b408b0b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

the_well/data/datasets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def __init__(
247247
else:
248248
self.normalization_path = os.path.join(
249249
trunk_path,
250-
str(normalization_path).removeprefix(str(trunk_path)).lstrip("./"),
250+
str(normalization_path).removeprefix(str(trunk_path)).lstrip("./\\"),
251251
)
252252

253253
self.fs, _ = fsspec.url_to_fs(self.data_path, **(storage_options or {}))

0 commit comments

Comments
 (0)