TOURNEY: since we can detect added amount, set it to 0 if we dont
This commit is contained in:
parent
a463d82f5b
commit
71108cdc9b
|
@ -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])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user