diff --git a/docs/known-bugs-and-planned-features.txt b/docs/known-bugs-and-planned-features.txt index 81748231..2feb12ac 100644 --- a/docs/known-bugs-and-planned-features.txt +++ b/docs/known-bugs-and-planned-features.txt @@ -4,6 +4,7 @@ Please also see db-todo.txt alpha2 (release by 17Aug) ====== +W$wsF doesnt work in HUD auto import only runs on one file per start set hud stats default row1: hands, VPIP, PFR, PF3B/4B, ST row2: Aggr% (postflop), Fold% (postflop), W$sF, WtSD, W$@SD make windows use correct language version of Appdata, e.g. Anwendungdaten diff --git a/pyfpdb/Stats.py b/pyfpdb/Stats.py index 4f989898..96ddd5ad 100644 --- a/pyfpdb/Stats.py +++ b/pyfpdb/Stats.py @@ -293,12 +293,12 @@ def three_B_0(stat_dict, player): def WMsF(stat_dict, player): stat = 0.0 try: - stat = stat_dict[player]['w_w_s_1']/stat_dict[player]['saw_f'] + stat = stat_dict[player]['w_w_s_1']/stat_dict[player]['saw_1'] return (stat, '%3.1f' % (100*stat) + '%', 'wf=%3.1f' % (100*stat) + '%', 'w_w_f=%3.1f' % (100*stat) + '%', - '(%d/%d)' % (stat_dict[player]['w_w_s_1'], stat_dict[player]['saw_f']), + '(%d/%d)' % (stat_dict[player]['w_w_s_1'], stat_dict[player]['saw_1']), '% won$/saw flop/4th' ) except: @@ -358,7 +358,7 @@ def a_freq_3(stat_dict, player): '%3.1f' % (100*stat) + '%', 'a3=%3.1f' % (100*stat) + '%', 'a_fq_3=%3.1f' % (100*stat) + '%', - '(%d/%d)' % (stat_dict[player]['aggr_1'], stat_dict[player]['saw_1']), + '(%d/%d)' % (stat_dict[player]['aggr_3'], stat_dict[player]['saw_3']), 'Aggression Freq river/6th' ) except: