From 239926a43991e9d7398a12512333ec73d4c8b457 Mon Sep 17 00:00:00 2001 From: Aivar Annamaa Date: Tue, 28 Jul 2020 10:13:31 +0300 Subject: [PATCH] Update the url of the package index at micropython.org --- micropip/micropip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/micropip/micropip.py b/micropip/micropip.py index f574c45..95f6b13 100755 --- a/micropip/micropip.py +++ b/micropip/micropip.py @@ -171,7 +171,7 @@ def url_open(url): # Now searches official library first before looking on PyPi for user packages def get_pkg_metadata(name): try: - f = url_open("https://micropython.org/resources/upi/%s/json" % name) + f = url_open("https://micropython.org/pi/%s/json" % name) except: f = url_open("https://pypi.org/pypi/%s/json" % name) s = read_lines(f)