From f95762c1044575e138fa5a152c52a6d218acb938 Mon Sep 17 00:00:00 2001 From: Matt Rendell Date: Wed, 15 Jul 2026 11:12:09 +1000 Subject: [PATCH] Fix node loop exiting early when a node has no projects Use 'continue' instead of 'break' so remaining nodes are still processed when one node's project summary is empty. --- ProjectBuilder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProjectBuilder.py b/ProjectBuilder.py index 22d9766..e510025 100644 --- a/ProjectBuilder.py +++ b/ProjectBuilder.py @@ -50,7 +50,7 @@ def main(args, repo): # ========== Check if there are any project ========== if df.empty: - break # Exit the loop as ther are no projects to make files for + continue # Skip this node as there are no projects to make files for # ========== Track whether the project summary CSV needs re-saving ========== pfilename = f"./{node['name']}/{node['name']}_ProjectsSummary.csv"