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 (손선풍기 → 양우산 → 팜레스트)