diff --git a/db.py b/db.py index 11dd951..cdc6255 100644 --- a/db.py +++ b/db.py @@ -275,8 +275,10 @@ class Game(db.Model): if (cccc.index('D'+self.atout) + winnr)%4 == belote %4: if belote %2 ==0: self.points_0 += 20 + belote_0 = 20 else: self.points_1 += 20 + belote_1 = 20 else: belote = winnr + cccc.index('D'+self.atout) win, xxx = winner(cccc, self.atout)