Skip to content

Commit

Permalink
patch f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp committed Dec 6, 2024
1 parent e198f31 commit f76ea4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build_installers.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,8 @@ def lockfiles():
from conda.base.context import context

if WINDOWS:
local_channel = f"file:///{context.croot.replace('\\', '/')}"
local_channel = context.croot.replace('\\', '/')
local_channel = f"file:///{local_channel}"
else:
local_channel = f"file://{context.croot}"
if not local_channel.endswith("/"):
Expand Down

0 comments on commit f76ea4a

Please sign in to comment.