From 71108cdc9bd6d7a699c5f5259f7c1f729d669717 Mon Sep 17 00:00:00 2001 From: steffen123 Date: Sat, 17 Jul 2010 04:37:15 +0200 Subject: [PATCH] TOURNEY: since we can detect added amount, set it to 0 if we dont --- pyfpdb/PokerStarsSummary.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyfpdb/PokerStarsSummary.py b/pyfpdb/PokerStarsSummary.py index 477d7996..347536a9 100644 --- a/pyfpdb/PokerStarsSummary.py +++ b/pyfpdb/PokerStarsSummary.py @@ -94,6 +94,9 @@ class PokerStarsSummary(TourneySummary): self.added=100*int(Decimal(result['DOLLAR']))+int(Decimal(result['CENT'])) self.addedCurrency=result['CURRENCY'] currentLine+=1 + else: + self.added=0 + self.addedCurrency="NA" #print "after added/entries lines[currentLine]", lines[currentLine] result=self.re_Prizepool.findall(lines[currentLine])