From 6487691b695ba127e41e98137e451b4cded0c8e4 Mon Sep 17 00:00:00 2001 From: Worros Date: Wed, 22 Dec 2010 13:26:41 +0800 Subject: [PATCH] Hand: Add pot calculations to select() --- pyfpdb/Hand.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pyfpdb/Hand.py b/pyfpdb/Hand.py index f61f0765..405a56e5 100644 --- a/pyfpdb/Hand.py +++ b/pyfpdb/Hand.py @@ -408,13 +408,12 @@ db: a connected Database object""" else: print "DEBUG: unknown action: '%s'" % act - #print self + self.totalPot() + self.rake = self.totalpot - self.totalcollected self.writeHand() #hhc.readShowdownActions(self) #hc.readShownCards(self) - #h.totalPot() - #h.rake = h.totalpot - h.totalcollected def addPlayer(self, seat, name, chips):