Make determineGameType return 'tour' of currency is T$
This commit is contained in:
parent
81df5a8919
commit
a7f7113705
|
@ -130,12 +130,10 @@ or None if we fail to get the info """
|
||||||
info['bb'] = mg['BB']
|
info['bb'] = mg['BB']
|
||||||
if 'CURRENCY' in mg:
|
if 'CURRENCY' in mg:
|
||||||
info['currency'] = currencies[mg['CURRENCY']]
|
info['currency'] = currencies[mg['CURRENCY']]
|
||||||
|
if info['currency'] == 'T$':
|
||||||
|
info['type'] = 'tour'
|
||||||
# NB: SB, BB must be interpreted as blinds or bets depending on limit type.
|
# NB: SB, BB must be interpreted as blinds or bets depending on limit type.
|
||||||
|
|
||||||
if not self.debugging and info['base']=='stud':
|
|
||||||
logging.warning("Not processing Everleaf Stud hand")
|
|
||||||
#return None
|
|
||||||
|
|
||||||
return info
|
return info
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ Blinds 10/20 NL Hold'em - 2009/02/25 - 17:30:32
|
||||||
Table 2
|
Table 2
|
||||||
Seat 1 is the button
|
Seat 1 is the button
|
||||||
Total number of players: 10""",
|
Total number of players: 10""",
|
||||||
{'type':'ring', 'base':"hold", 'category':'holdem', 'limitType':'nl', 'sb':'10', 'bb':'20', 'currency':'T$'}),
|
{'type':'tour', 'base':"hold", 'category':'holdem', 'limitType':'nl', 'sb':'10', 'bb':'20', 'currency':'T$'}),
|
||||||
|
|
||||||
("""Everleaf Gaming Game #65087798
|
("""Everleaf Gaming Game #65087798
|
||||||
***** Hand history for game #65087798 *****
|
***** Hand history for game #65087798 *****
|
||||||
|
@ -43,7 +43,7 @@ Table Plymouth""",
|
||||||
***** Hand history for game #65295370 *****
|
***** Hand history for game #65295370 *****
|
||||||
Blinds $0.50/$1 PL Omaha - 2008/12/07 - 21:59:48
|
Blinds $0.50/$1 PL Omaha - 2008/12/07 - 21:59:48
|
||||||
Table Guanajuato""",
|
Table Guanajuato""",
|
||||||
{'type':'ring', 'base':'hold', 'category':'omahahi', 'limitType':'pl', 'sb':'0.50', 'bb':'1','currency':'USD'})
|
{'type':'ring', 'base':'hold', 'category':'omahahi', 'limitType':'pl', 'sb':'0.50', 'bb':'1','currency':'USD'}),
|
||||||
|
|
||||||
)
|
)
|
||||||
for (header, info) in pairs:
|
for (header, info) in pairs:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user