diff --git a/pyfpdb/Database.py b/pyfpdb/Database.py index dcda2d27..6ab5794a 100644 --- a/pyfpdb/Database.py +++ b/pyfpdb/Database.py @@ -2032,7 +2032,6 @@ class HandToWrite: self.maxSeats = None self.tableName = None self.seatNos = None - self.payin_amounts = None # tourney import was complaining mightily about this missing except: print "htw.init error: " + str(sys.exc_info()) raise diff --git a/pyfpdb/FulltiltToFpdb.py b/pyfpdb/FulltiltToFpdb.py index a7d27d8a..f971b06c 100755 --- a/pyfpdb/FulltiltToFpdb.py +++ b/pyfpdb/FulltiltToFpdb.py @@ -626,7 +626,7 @@ class Fulltilt(HandHistoryConverter): # Calculate payin amounts and update winnings -- not possible to take into account nb of rebuys, addons or Knockouts for other players than hero on FTP for p in tourney.players : - tourney.payinAmounts[p] = tourney.buyin + tourney.fee + (tourney.rebuyCost * tourney.rebuyCounts[p]) + (tourney.addOnCost * tourney.addOnCounts[p]) + #tourney.payinAmounts[p] = tourney.buyin + tourney.fee + (tourney.rebuyCost * tourney.rebuyCounts[p]) + (tourney.addOnCost * tourney.addOnCounts[p]) #print " player %s : payinAmount = %d" %( p, tourney.payinAmounts[p]) if tourney.isKO : #tourney.incrementPlayerWinnings(tourney.players[p], Decimal(tourney.koBounty)*Decimal(tourney.koCounts[p]))