TOURNEY: since we can detect added amount, set it to 0 if we dont

This commit is contained in:
steffen123 2010-07-17 04:37:15 +02:00
parent a463d82f5b
commit 71108cdc9b

View File

@ -94,6 +94,9 @@ class PokerStarsSummary(TourneySummary):
self.added=100*int(Decimal(result['DOLLAR']))+int(Decimal(result['CENT'])) self.added=100*int(Decimal(result['DOLLAR']))+int(Decimal(result['CENT']))
self.addedCurrency=result['CURRENCY'] self.addedCurrency=result['CURRENCY']
currentLine+=1 currentLine+=1
else:
self.added=0
self.addedCurrency="NA"
#print "after added/entries lines[currentLine]", lines[currentLine] #print "after added/entries lines[currentLine]", lines[currentLine]
result=self.re_Prizepool.findall(lines[currentLine]) result=self.re_Prizepool.findall(lines[currentLine])