aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author苏向夜 <fu050409@163.com>2024-01-22 17:45:15 +0800
committer苏向夜 <fu050409@163.com>2024-01-22 17:45:15 +0800
commit17afd42239a89ddfbb1332ead03b283908679043 (patch)
tree5ae1d7d0a6530184aaa6b5495b8e1014b6bcf265
parent477847dfb4025141528959f1b7111af67b50fd13 (diff)
downloadipm-17afd42239a89ddfbb1332ead03b283908679043.tar.gz
ipm-17afd42239a89ddfbb1332ead03b283908679043.zip
:bug: fix(index): fix index path load path
-rw-r--r--src/ipm/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipm/api.py b/src/ipm/api.py
index 490344c..d1e0133 100644
--- a/src/ipm/api.py
+++ b/src/ipm/api.py
@@ -88,7 +88,7 @@ def install(uri: str, index: str = "", echo: bool = False) -> None:
ifp = loader.load_from_remote(
uri,
- baseurl=index + remote_ifp["name"],
+ baseurl=index,
filename=remote_ifp["source"],
echo=echo,
)