TOURNEY: fix category recording for PS summary import

This commit is contained in:
steffen123 2010-07-15 01:58:54 +02:00
parent 10a94fa441
commit 18dc3f29ff

View File

@ -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"