From 6161c8cf0eef10217a1adaca1b2c4de579233ae2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sun, 31 Jul 2011 12:05:13 +0200 Subject: [PATCH] remove winner flag on removed contestants --- tabellio/contest/participant.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tabellio/contest/participant.py b/tabellio/contest/participant.py index c2c7890..39ee2da 100644 --- a/tabellio/contest/participant.py +++ b/tabellio/contest/participant.py @@ -48,5 +48,6 @@ class Participant(Item): class Remove(BrowserView): def __call__(self): self.context.removed = True + self.context.winner = False self.request.response.redirect('../participants')