From ae6a035834aadcda3de6732c9ff890485a0225be Mon Sep 17 00:00:00 2001 From: Chaz Date: Tue, 28 Sep 2010 17:23:44 -0400 Subject: [PATCH] * fixed a small issue in assembleHandsActions() --- pyfpdb/DerivedStats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/DerivedStats.py b/pyfpdb/DerivedStats.py index 320e321c..131ee3a3 100644 --- a/pyfpdb/DerivedStats.py +++ b/pyfpdb/DerivedStats.py @@ -219,7 +219,7 @@ class DerivedStats(): self.handsactions[k]['actionNo'] = k self.handsactions[k]['streetActionNo'] = (j+1) self.handsactions[k]['actionId'] = hand.ACTION[act[1]] - if act[1] not in ('discards'): + if act[1] not in ('discards') and len(act) > 2: self.handsactions[k]['amount'] = int(100 * act[2]) if act[1] in ('raises', 'completes'): self.handsactions[k]['raiseTo'] = int(100 * act[3])