From c83f7e01410db2e2528291a527fc90a9e378fb71 Mon Sep 17 00:00:00 2001 From: rgriffith Date: Thu, 19 Mar 2026 21:45:42 -0400 Subject: [PATCH] fix: repair broken if-statement on line 162 --- lab_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lab_api.py b/lab_api.py index 053a3f4..35c233c 100644 --- a/lab_api.py +++ b/lab_api.py @@ -159,7 +159,7 @@ def _resolve_forge_dir() -> str: return str(candidate) # Also try just one level up from target/ candidate = jar_path.parent.parent - andidate / "res").is_dir(): + if candidate.is_dir() and (candidate / "res").is_dir(): return str(candidate) # Fall back to the directory containing the JAR itself candidate = jar_path.parent