From a71f68280307bba1750d68804e1b2caa25fd697f Mon Sep 17 00:00:00 2001 From: Worros Date: Wed, 13 Oct 2010 17:47:00 +0800 Subject: [PATCH] DerivedStats: adjust street0VPI for stud Add complete as one of the actions that count as VPIP --- pyfpdb/DerivedStats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/DerivedStats.py b/pyfpdb/DerivedStats.py index 1f5a933e..c76c9f08 100644 --- a/pyfpdb/DerivedStats.py +++ b/pyfpdb/DerivedStats.py @@ -289,7 +289,7 @@ class DerivedStats(): def vpip(self, hand): vpipers = set() for act in hand.actions[hand.actionStreets[1]]: - if act[1] in ('calls','bets', 'raises'): + if act[1] in ('calls','bets', 'raises', 'completes'): vpipers.add(act[0]) self.hands['playersVpi'] = len(vpipers)