Party hhc: fixes
This commit is contained in:
parent
433d0948ec
commit
0aed2c2461
|
@ -442,7 +442,7 @@ class PartyPoker(HandHistoryConverter):
|
||||||
|
|
||||||
if actionType == 'raises':
|
if actionType == 'raises':
|
||||||
if street == 'PREFLOP' and \
|
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
|
# preflop raise from blind
|
||||||
hand.addRaiseBy( street, playerName, amount )
|
hand.addRaiseBy( street, playerName, amount )
|
||||||
else:
|
else:
|
||||||
|
@ -475,7 +475,7 @@ class PartyPoker(HandHistoryConverter):
|
||||||
cards = renderCards(m.group('CARDS'))
|
cards = renderCards(m.group('CARDS'))
|
||||||
|
|
||||||
(shown, mucked) = (False, False)
|
(shown, mucked) = (False, False)
|
||||||
if m.group('SHOWED') == "shows": shown = True
|
if m.group('SHOWED') == "show": shown = True
|
||||||
else: mucked = True
|
else: mucked = True
|
||||||
|
|
||||||
hand.addShownCards(cards=cards, player=m.group('PNAME'), shown=shown, mucked=mucked)
|
hand.addShownCards(cards=cards, player=m.group('PNAME'), shown=shown, mucked=mucked)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user