recognise and store knockout and bounty

This commit is contained in:
steffen123
2010-08-02 13:53:50 +02:00
parent 388097a412
commit 9ad275e11c
4 changed files with 9 additions and 6 deletions
+2 -1
View File
@@ -257,7 +257,8 @@ class PokerStars(HandHistoryConverter):
hand.fee = int(100*Decimal(info['BOUNTY'][1:]))
else:
hand.fee = int(100*Decimal(info['BIRAKE'][1:]))
# TODO: Bounty is in key 'BOUNTY'
hand.isKO = True
hand.koBounty = int(100*Decimal(info['BOUNTY'][1:]))
else:
hand.buyin = int(Decimal(info[key][0:-3]))
hand.fee = 0