From 0aed2c2461301ba403598ba2d1bd6c2b4507f1fe Mon Sep 17 00:00:00 2001 From: grindi Date: Wed, 12 Aug 2009 11:18:42 +0400 Subject: [PATCH] Party hhc: fixes --- pyfpdb/PartyPokerToFpdb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyfpdb/PartyPokerToFpdb.py b/pyfpdb/PartyPokerToFpdb.py index 6c9c5042..a3ea0ad0 100755 --- a/pyfpdb/PartyPokerToFpdb.py +++ b/pyfpdb/PartyPokerToFpdb.py @@ -442,7 +442,7 @@ class PartyPoker(HandHistoryConverter): if actionType == 'raises': if street == 'PREFLOP' and \ - playerName in [item[0] for item in hand.actions['BLINDSANTES']]: + playerName in [item[0] for item in hand.actions['BLINDSANTES'] if item[2]!='ante']: # preflop raise from blind hand.addRaiseBy( street, playerName, amount ) else: @@ -475,7 +475,7 @@ class PartyPoker(HandHistoryConverter): cards = renderCards(m.group('CARDS')) (shown, mucked) = (False, False) - if m.group('SHOWED') == "shows": shown = True + if m.group('SHOWED') == "show": shown = True else: mucked = True hand.addShownCards(cards=cards, player=m.group('PNAME'), shown=shown, mucked=mucked)