From 3112e3542562c63b585cabd95ae3bf493be95efd Mon Sep 17 00:00:00 2001 From: rusefillc Date: Sun, 4 Oct 2020 13:29:41 -0400 Subject: [PATCH] SignatureHelper --- .../shared_io/src/main/java/com/rusefi/SignatureHelper.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/java_console/shared_io/src/main/java/com/rusefi/SignatureHelper.java b/java_console/shared_io/src/main/java/com/rusefi/SignatureHelper.java index 6860fb7594..f1f5266481 100644 --- a/java_console/shared_io/src/main/java/com/rusefi/SignatureHelper.java +++ b/java_console/shared_io/src/main/java/com/rusefi/SignatureHelper.java @@ -35,6 +35,8 @@ public class SignatureHelper { } public static void downloadIfNotAvailable(Pair p) { + if (p == null) + return; new File(LOCAL_INI).mkdirs(); String localIniFile = LOCAL_INI + File.separator + p.second; File file = new File(localIniFile);