diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2018-02-23 21:45:33 +0100 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2018-02-23 21:45:33 +0100 |
commit | 61d799871d3662b7f4282820c0423b6ae524a927 (patch) | |
tree | 03c041658cfaa785ac0641d6c0ac4689e7910bbb /stalinizer.py | |
parent | eddca01a8fcbcfb0e3bd1e2498f06cabf9ec80c8 (diff) |
Ignore 999 pings.
Diffstat (limited to 'stalinizer.py')
-rwxr-xr-x | stalinizer.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stalinizer.py b/stalinizer.py index 2559c0c..af580f9 100755 --- a/stalinizer.py +++ b/stalinizer.py @@ -66,6 +66,8 @@ class StateTracker: def ev_endgame_stat(self, gametime, score, ping): if score == "0": return + if ping == "999": + return game_length = parse_gametime(gametime) self.pings.append((int(ping), game_length)) |