Merge branch 'carl'

This commit is contained in:
Steffen Schaumburg 2011-03-02 07:03:37 +01:00
commit df45dd4b67

View File

@ -330,6 +330,12 @@ class PartyPoker(HandHistoryConverter):
# FIXME: there is no such property in Hand class # FIXME: there is no such property in Hand class
self.isSNG = True self.isSNG = True
if key == 'BUYIN': if key == 'BUYIN':
if info[key] == None:
# Freeroll tourney
hand.buyin = 0
hand.fee = 0
hand.buyinCurrency = "FREE"
hand.isKO = False
if hand.tourNo != None: if hand.tourNo != None:
hand.buyin = 0 hand.buyin = 0
hand.fee = 0 hand.fee = 0