diff --git a/cadetrdm/repositories.py b/cadetrdm/repositories.py index 99eb310..0a1215b 100644 --- a/cadetrdm/repositories.py +++ b/cadetrdm/repositories.py @@ -1871,7 +1871,7 @@ def _add_branch_name_to_log(self) -> None: # Add new column to header if not present if "project_repo_branch" not in rows[0]: for row in rows: - branch = branch_colc.split("_")[2] + branch = branch_col.split("_")[2] row["project_repo_branch"] = branch if "project_repo_branch" not in fieldnames: