From 73545350fb7606eeb9941e8f0d32d92ac88b274c Mon Sep 17 00:00:00 2001 From: William Palin Date: Mon, 9 Dec 2024 12:43:17 -0500 Subject: [PATCH] fix(update_case_names): Logging counter bug Incorrect counting fix for case name updates --- .../management/commands/update_casenames_wl_dataset.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cl/corpus_importer/management/commands/update_casenames_wl_dataset.py b/cl/corpus_importer/management/commands/update_casenames_wl_dataset.py index 3bb60b958a..97ea96f35b 100644 --- a/cl/corpus_importer/management/commands/update_casenames_wl_dataset.py +++ b/cl/corpus_importer/management/commands/update_casenames_wl_dataset.py @@ -353,10 +353,10 @@ def process_csv( ) if cluster_updated: - total_clusters_updated = +1 + total_clusters_updated += 1 if docket_updated: - total_dockets_updated = +1 + total_dockets_updated += 1 # Add any of the citations if possible for citation in valid_citations: