From 18dc3f29ff716ec27644715f87786e253d71e374 Mon Sep 17 00:00:00 2001 From: steffen123 Date: Thu, 15 Jul 2010 01:58:54 +0200 Subject: [PATCH] TOURNEY: fix category recording for PS summary import --- pyfpdb/PokerStarsSummary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/PokerStarsSummary.py b/pyfpdb/PokerStarsSummary.py index a384056a..764e072f 100644 --- a/pyfpdb/PokerStarsSummary.py +++ b/pyfpdb/PokerStarsSummary.py @@ -60,7 +60,7 @@ class PokerStarsSummary(TourneySummary): result=self.re_GameInfo.search(lines[0]) result=result.groupdict() self.gametype['limitType']=self.limits[result['LIMIT']] - self.gametype['category']=self.games[result['GAME']][0] + self.gametype['category']=self.games[result['GAME']][1] if lines[1].find("$")!=-1: #TODO: move this into a method and call that from PokerStarsToFpdb.py:269 if hand.buyinCurrency=="USD" etc. self.currency="USD"