From 46d625822976d2935cbed547f854be6d1f7077d0 Mon Sep 17 00:00:00 2001 From: Sriman Achanta <68172138+srimanachanta@users.noreply.github.com> Date: Tue, 10 Oct 2023 22:28:41 -0400 Subject: [PATCH] Fix comment --- .../org/photonvision/common/configuration/ConfigManager.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 9fe7c34943..48a6e011bf 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 @@ -116,9 +116,8 @@ private void translateLegacyIfPresent(Path folderPath) { e1.printStackTrace(); } - // So we can't save the old config, and we couldn't copy the folder - // But we've loaded the config. So just try to delete the directory, so we don't try to load - // form it next time. That does mean we have no backup recourse, tho + // Delete the directory because we were successfully able to load the config but were unable + // to save or copy the folder. if (maybeCams.exists()) FileUtils.deleteDirectory(maybeCams.toPath()); }