OnGame: Fix readSupprtedGames and currency
This commit is contained in:
parent
5f425e0910
commit
c77cf55104
|
@ -107,7 +107,10 @@ class OnGame(HandHistoryConverter):
|
||||||
re_sitsOut = re.compile('(?P<PNAME>.*) sits out')
|
re_sitsOut = re.compile('(?P<PNAME>.*) sits out')
|
||||||
|
|
||||||
def readSupportedGames(self):
|
def readSupportedGames(self):
|
||||||
pass
|
return [
|
||||||
|
["ring", "hold", "fl"],
|
||||||
|
["ring", "hold", "nl"],
|
||||||
|
]
|
||||||
|
|
||||||
def determineGameType(self, handText):
|
def determineGameType(self, handText):
|
||||||
# Inspect the handText and return the gametype dict
|
# Inspect the handText and return the gametype dict
|
||||||
|
@ -124,6 +127,7 @@ class OnGame(HandHistoryConverter):
|
||||||
mg = m.groupdict()
|
mg = m.groupdict()
|
||||||
|
|
||||||
info['type'] = 'ring'
|
info['type'] = 'ring'
|
||||||
|
info['currency'] = 'USD'
|
||||||
|
|
||||||
if 'LIMIT' in mg:
|
if 'LIMIT' in mg:
|
||||||
info['limitType'] = self.limits[mg['LIMIT']]
|
info['limitType'] = self.limits[mg['LIMIT']]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user