Fix regression importing some Stars tournaments.
This commit is contained in:
parent
fdabe29ea2
commit
6866f409ce
|
@ -869,11 +869,19 @@ def goesAllInOnThisLine(line):
|
||||||
#end def goesAllInOnThisLine
|
#end def goesAllInOnThisLine
|
||||||
|
|
||||||
#returns the action type code (see table design) of the given action line
|
#returns the action type code (see table design) of the given action line
|
||||||
ActionTypes = { 'calls':"call", 'brings in for':"blind", 'completes it to':"bet", ' posts $':"blind",
|
ActionTypes = { 'brings in for' :"blind",
|
||||||
' posts a dead ' : "blind", ' posts the small blind of $':"blind", ': posts big blind ':"blind",
|
' posts $' :"blind",
|
||||||
' posts the big blind of $':"blind", ': posts small & big blinds $':"blind",
|
' posts a dead ' :"blind",
|
||||||
|
' posts the small blind of $' :"blind",
|
||||||
|
': posts big blind ' :"blind",
|
||||||
|
': posts small blind ' :"blind",
|
||||||
|
' posts the big blind of $' :"blind",
|
||||||
|
': posts small & big blinds $' :"blind",
|
||||||
': posts small blind $' :"blind",
|
': posts small blind $' :"blind",
|
||||||
' bets' : "bet", ' raises' : "bet"
|
'calls' :"call",
|
||||||
|
'completes it to' :"bet",
|
||||||
|
' bets' :"bet",
|
||||||
|
' raises' :"bet"
|
||||||
}
|
}
|
||||||
def parseActionType(line):
|
def parseActionType(line):
|
||||||
if (line.startswith("Uncalled bet")):
|
if (line.startswith("Uncalled bet")):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user