diff --git a/arduino-core/src/cc/arduino/contributions/DownloadableContributionsDownloader.java b/arduino-core/src/cc/arduino/contributions/DownloadableContributionsDownloader.java index dc90bf38f..34d7e0df6 100644 --- a/arduino-core/src/cc/arduino/contributions/DownloadableContributionsDownloader.java +++ b/arduino-core/src/cc/arduino/contributions/DownloadableContributionsDownloader.java @@ -91,7 +91,7 @@ public class DownloadableContributionsDownloader { String algo = checksum.split(":")[0]; - return algo != null && algo.isEmpty(); + return algo != null && !algo.isEmpty(); } public void download(URL url, File tmpFile, Progress progress, String statusText) throws Exception {