diff --git a/photon-core/src/main/java/org/photonvision/common/configuration/ConfigManager.java b/photon-core/src/main/java/org/photonvision/common/configuration/ConfigManager.java index 4c965abba5..b79e2d5a46 100644 --- a/photon-core/src/main/java/org/photonvision/common/configuration/ConfigManager.java +++ b/photon-core/src/main/java/org/photonvision/common/configuration/ConfigManager.java @@ -99,7 +99,7 @@ private void translateLegacyIfPresent(Path folderPath) { var networkConfigExists = maybeNetworkSettings.exists() && maybeHwConfig.isFile(); var atflConfigExists = maybeATFLSettings.exists() && maybeATFLSettings.isFile(); - var translateNeeded = + var translateNeeded = (legacyCamConfigsExist) || (hwConfigExists) || (networkConfigExists) || @@ -154,7 +154,7 @@ private void translateLegacyIfPresent(Path folderPath) { if(atflConfigExists){ FileUtils.deleteFile(maybeATFLSettings.toPath()); } - + // Save the same config out using SQL loader var sql = new SqlConfigProvider(getRootFolder());