Removed redundant length check on tags list.
CD / Build (push) Successful in 8s
CI / Formatting (push) Successful in 6s
CI / Linting (push) Successful in 5s
CI / Type Checking (push) Successful in 10s
CI / Spelling (push) Successful in 5s

This commit is contained in:
2026-03-12 21:18:13 -04:00
parent 1429e2de11
commit 440b2130f4
+1 -1
View File
@@ -166,7 +166,7 @@ class NotificationService:
body_text += "\n\nTo tune in, visit: https://" + domain + "/"
# Add tags if present
if tags and len(tags) > 0:
if tags:
safe_tags = []
for tag in tags:
safe_tag = sanitize_for_plain_text(tag)