From 5189d27261b6c61b5e5c42a3379da48570756edc Mon Sep 17 00:00:00 2001 From: th-kim0823 Date: Sat, 25 Apr 2026 20:15:05 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20ceremony=EC=97=90=EC=84=9C=20=EB=8F=99?= =?UTF-8?q?=EB=A5=A0=20=EB=B6=80=EB=AC=B8/=ED=9B=84=EB=B3=B4=20=EC=A0=95?= =?UTF-8?q?=EB=B3=B4=20=EC=88=A8=EA=B9=80=20(=EB=B0=9C=ED=91=9C=20spoiler?= =?UTF-8?q?=20=EB=B0=A9=EC=A7=80)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 큰 화면 공유 상황에서 동률 후보가 노출되면 발표 임팩트 ↓. '시상 준비 중입니다' 단순 안내만 표시. 진행자는 별도 화면에서 어드민 처리. Co-Authored-By: Claude Opus 4.7 (1M context) --- app.py | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/app.py b/app.py index 4472426..c39a9cf 100644 --- a/app.py +++ b/app.py @@ -513,17 +513,13 @@ def render_ceremony(): titles = get_titles() winners, _ = compute_winners() - # 동률 미해결 있으면 ceremony 차단 - pending = [ - (col, label) for col, label, _ in CATEGORIES + # 동률 미해결 있으면 ceremony 차단 (부문/후보 정보는 노출 X — 발표 spoiler 방지) + pending_count = sum( + 1 for col, _, _ in CATEGORIES if winners.get(col, {}).get("status") == "tie" - ] - if pending: - st.error("⚠️ 동률 미해결 — 어드민 페이지에서 추첨/선택 후 재진입") - for col, label in pending: - tied = winners[col]["tied"] - tied_labels = ", ".join(fmt_team(t, titles) for t in tied) - st.write(f"- {label}: {tied_labels}") + ) + if pending_count > 0: + st.warning("⏳ 시상 준비 중입니다. 잠시만 기다려주세요.") return # CATEGORIES 순서로 reveal (손선풍기 → 양우산 → 팜레스트)