diff --git a/platformio/pkgmanager.py b/platformio/pkgmanager.py index c421a443..83f4f4b7 100644 --- a/platformio/pkgmanager.py +++ b/platformio/pkgmanager.py @@ -103,7 +103,7 @@ class PackageManager(object): except (requests.exceptions.ConnectionError, requests.exceptions.ChunkedEncodingError, exception.FDUnrecognizedStatusCode, StopIteration): - if info['url'].startswith("http://sourceforge.net"): + if not info['url'].startswith("http://dl.platformio.org"): dlpath = self.download( "http://dl.platformio.org/packages/%s" % basename(info['url']), pkg_dir, info['sha1'])