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)
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'))