From 8b1baa65931a26683e332b79bad9e136616119cb Mon Sep 17 00:00:00 2001 From: Eratosthenes Date: Wed, 4 Aug 2010 20:52:37 -0400 Subject: [PATCH] Don't break stud and draw when counting players at street. --- pyfpdb/DerivedStats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/DerivedStats.py b/pyfpdb/DerivedStats.py index 26e95394..7965f81d 100644 --- a/pyfpdb/DerivedStats.py +++ b/pyfpdb/DerivedStats.py @@ -292,7 +292,7 @@ class DerivedStats(): # hand.players includes people that are sitting out on some sites. # Those that posted an ante should have been deal cards. - p_in = set([x[0] for x in hand.actions['BLINDSANTES']] + [x[0] for x in hand.actions['PREFLOP']]) + p_in = set([x[0] for x in hand.actions[hand.allStreets[0]]] + [x[0] for x in hand.actions[hand.actionStreets[0]]]) for (i, street) in enumerate(hand.actionStreets): actions = hand.actions[street]