Skip to content

Commit d2b45fe

Browse files
nineteendoeryksun
andauthored
Update Lib/ntpath.py
Co-authored-by: Eryk Sun <[email protected]>
1 parent 4a26721 commit d2b45fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/ntpath.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ def abspath(path):
584584
sep = b'\\'
585585
cwd = os.getcwdb()
586586
else:
587-
sep = '/'
587+
sep = '\\'
588588
cwd = os.getcwd()
589589
drive, root, path = splitroot(path)
590590
if drive and drive != splitroot(cwd)[0]:

0 commit comments

Comments
 (0)