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}, )