PSSummary.py: Fix winnings for Step tickets

This commit is contained in:
Worros 2010-09-05 22:08:27 +08:00
parent c169ccedf4
commit 23d73c5675

View File

@ -249,14 +249,16 @@ class PokerStarsSummary(TourneySummary):
winnings=None winnings=None
if 'TICKET' and mg['TICKET'] != None: if 'TICKET' and mg['TICKET'] != None:
print "DEBUG: TODO! fix Step ticket values" #print "Tournament Ticket Level %s" % mg['LEVEL']
print "\tWinning = Level %s" % mg['LEVEL'] step_values = {
# Step 1 - $7.50 USD '1' : '750', # Step 1 - $7.50 USD
# Step 2 - $27.00 USD '2' : '2750', # Step 2 - $27.00 USD
# Step 3 - $82.00 USD '3' : '8200', # Step 3 - $82.00 USD
# Step 4 - $215.00 USD '4' : '21500', # Step 4 - $215.00 USD
# Step 5 - $700.00 USD '5' : '70000', # Step 5 - $700.00 USD
# Step 6 - $2100.00 USD '6' : '210000', # Step 6 - $2100.00 USD
}
winnings = step_values[mg['LEVEL']]
#TODO: currency, ko/addon/rebuy count -> need examples! #TODO: currency, ko/addon/rebuy count -> need examples!
#print "DEBUG: addPlayer(%s, %s, %s, %s, None, None, None)" %(rank, name, winnings, self.currency) #print "DEBUG: addPlayer(%s, %s, %s, %s, None, None, None)" %(rank, name, winnings, self.currency)