From def149a29e6ea00e6898a9d68f70b358003fb2d9 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Sat, 25 Jul 2020 17:13:05 +0300 Subject: [PATCH] Use updated registry API --- platformio/clients/registry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformio/clients/registry.py b/platformio/clients/registry.py index a1993900..3d45584b 100644 --- a/platformio/clients/registry.py +++ b/platformio/clients/registry.py @@ -69,7 +69,7 @@ class RegistryClient(RESTClient): ) path = "/v3/packages/%s/%s/%s" % (owner, type, name) if version: - path = path + "/version/" + version + path += "/" + version response = self.send_auth_request( "delete", path, params={"undo": 1 if undo else 0}, )