From 904c10881371a813a950ad43645fe98541083e1e Mon Sep 17 00:00:00 2001 From: Matt Turnbull Date: Wed, 11 Mar 2009 14:07:38 +0000 Subject: [PATCH] people who put in blinds or antes are also counted as actors preflop --- pyfpdb/Hand.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/Hand.py b/pyfpdb/Hand.py index b58f7d5d..8258e49d 100644 --- a/pyfpdb/Hand.py +++ b/pyfpdb/Hand.py @@ -429,7 +429,7 @@ Card ranks will be uppercased print >>fh, _("%s Game #%s: %s ($%s/$%s) - %s" %("PokerStars", self.handid, self.getGameTypeAsString(), self.sb, self.bb, time.strftime('%Y/%m/%d - %H:%M:%S (ET)', self.starttime))) print >>fh, _("Table '%s' %d-max Seat #%s is the button" %(self.tablename, self.maxseats, self.buttonpos)) - players_who_act_preflop = set([x[0] for x in self.actions['PREFLOP']]) + players_who_act_preflop = set(([x[0] for x in self.actions['PREFLOP']]+[x[0] for x in self.actions['BLINDSANTES']])) logging.debug(self.actions['PREFLOP']) for player in [x for x in self.players if x[1] in players_who_act_preflop]: #Only print stacks of players who do something preflop