예제 #1
0
def pass_extraction():
    LIST_OF_WINNERS.append('empty_slot')
    lead_text = 'Slot %s is empty :(' % str(len(LIST_OF_WINNERS))
    return render_template('pass.html', winners=LIST_OF_WINNERS, lead_text=lead_text)
예제 #2
0
def save_winner(name):
    if name not in LIST_OF_WINNERS:
        LIST_OF_WINNERS.append(name)
        py.remove_member_from_pool(name)
    return redirect(url_for('saved'))