From 94dc6832811b6aa40c129f95b102986e9c5730ef Mon Sep 17 00:00:00 2001 From: Worros Date: Tue, 22 Mar 2011 15:11:08 +0800 Subject: [PATCH] PacificPoker: Change raise function In the sample hand history player04 bets [1] Hero raises [2] player05 raises [3] Hero raises 1 to 2 player05 raises 1 to 3 --- pyfpdb/PacificPokerToFpdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/PacificPokerToFpdb.py b/pyfpdb/PacificPokerToFpdb.py index fc0661bb..a46ea739 100644 --- a/pyfpdb/PacificPokerToFpdb.py +++ b/pyfpdb/PacificPokerToFpdb.py @@ -412,7 +412,7 @@ class PacificPoker(HandHistoryConverter): acts = action.groupdict() #print "DEBUG: acts: %s" %acts if action.group('ATYPE') == ' raises': - hand.addRaiseBy( street, action.group('PNAME'), action.group('BET').replace(',','') ) + hand.addRaiseTo( street, action.group('PNAME'), action.group('BET').replace(',','') ) elif action.group('ATYPE') == ' calls': hand.addCall( street, action.group('PNAME'), action.group('BET').replace(',','') ) elif action.group('ATYPE') == ' bets':