Fix what looks like a thinko
The stat 'fold_f' probably should do a "float(foo)/float(bar)" division because there is no function called "fold"
This commit is contained in:
parent
ed1b24a38f
commit
2503cd1b6c
|
@ -277,7 +277,7 @@ def fold_f(stat_dict, player):
|
||||||
""" Folded flop/4th."""
|
""" Folded flop/4th."""
|
||||||
stat = 0.0
|
stat = 0.0
|
||||||
try:
|
try:
|
||||||
stat = float(stat_dict[player]['fold_2'])/fold(stat_dict[player]['saw_f'])
|
stat = float(stat_dict[player]['fold_2'])/float(stat_dict[player]['saw_f'])
|
||||||
return (stat,
|
return (stat,
|
||||||
'%3.1f' % (100*stat) + '%',
|
'%3.1f' % (100*stat) + '%',
|
||||||
'ff=%3.1f' % (100*stat) + '%',
|
'ff=%3.1f' % (100*stat) + '%',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user