Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 239926a

Browse files
authored
Update the url of the package index at micropython.org
1 parent 20e10c5 commit 239926a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

micropip/micropip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def url_open(url):
171171
# Now searches official library first before looking on PyPi for user packages
172172
def get_pkg_metadata(name):
173173
try:
174-
f = url_open("https://micropython.org/resources/upi/%s/json" % name)
174+
f = url_open("https://micropython.org/pi/%s/json" % name)
175175
except:
176176
f = url_open("https://pypi.org/pypi/%s/json" % name)
177177
s = read_lines(f)

0 commit comments

Comments
 (0)