From 61d799871d3662b7f4282820c0423b6ae524a927 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Fri, 23 Feb 2018 21:45:33 +0100 Subject: Ignore 999 pings. --- stalinizer.py | 2 ++ 1 file changed, 2 insertions(+) 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)) -- cgit