first cleanup iter
CI - Security, Lint & Tests / validate (push) Failing after 25m59s

This commit is contained in:
cedrick2711
2026-09-09 08:26:47 -04:00
parent 101e3ae880
commit e53bc3b80d
35 changed files with 2138 additions and 2187 deletions
+3 -3
View File
@@ -649,14 +649,14 @@ def edit_match(match_id):
# Purge Discord pending entries for participants that no longer exist.
if removed_ids:
from app.discord_bot import purge_pending_for_participants
from app.discord import purge_pending_for_participants
purge_pending_for_participants(removed_ids)
# Decide whether and what to notify.
if time_changed:
# All current participants get the "modified" message.
all_current = list(zip(notified_player_ids, notified_participant_ids))
all_current = list(zip(notified_player_ids, notified_participant_ids, strict=True))
notify_participants(
title=match.title,
date=match.date,
@@ -671,7 +671,7 @@ def edit_match(match_id):
new_player_ids = desired - set(existing.keys())
new_pairs = [
(pid, nid)
for pid, nid in zip(notified_player_ids, notified_participant_ids)
for pid, nid in zip(notified_player_ids, notified_participant_ids, strict=True)
if pid in new_player_ids
]
notify_participants(