Skip to content

Commit 189fc0e

Browse files
author
Rajmund Csombordi
committed
Fixed windows edp path forward slash
1 parent 9cd3198 commit 189fc0e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

solvebio/utils/files.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,5 @@ def edp_path(path: str):
6060

6161
win_path = pathlib.PureWindowsPath(path)
6262
posix_path = pathlib.PurePosixPath('/', *win_path.parts)
63-
return posix_path.as_posix()
63+
return posix_path.as_posix().removeprefix("/")
64+

0 commit comments

Comments
 (0)