Skip to content

Commit 7fc3b16

Browse files
committed
Drag the wheel path object through os.fsdecode
1 parent 964a137 commit 7fc3b16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/ensurepip/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def _bootstrap(*, root=None, upgrade=False, user=False,
172172
if verbosity:
173173
args += ["-" + "v" * verbosity]
174174

175-
return _run_pip([*args, "pip"], [str(tmp_wheel_path)])
175+
return _run_pip([*args, "pip"], [os.fsdecode(tmp_wheel_path)])
176176

177177

178178
def _uninstall_helper(*, verbosity=0):

0 commit comments

Comments
 (0)