Update terminal_helper.py

This commit is contained in:
zandercymatics 2025-03-16 20:52:29 -06:00
parent 5fa6e0dbcb
commit 40c5aa4704
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -252,8 +252,9 @@ class TerminalHelper:
prompt_title="Do you wish to see the full list of failed, skipped and updated records?", prompt_title="Do you wish to see the full list of failed, skipped and updated records?",
) )
non_zero_counts = {category: count for category, count in counts.items() if count > 0}
messages = [] messages = []
for category, count in counts.items(): for category, count in non_zero_counts.items():
match category: match category:
case "added": case "added":
label, values, debug_color = "Added", add, TerminalColors.OKBLUE label, values, debug_color = "Added", add, TerminalColors.OKBLUE