diff options
Diffstat (limited to 'TOOLS')
-rwxr-xr-x | TOOLS/stats-conv.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/TOOLS/stats-conv.py b/TOOLS/stats-conv.py index 5f81836d8f..29a6b7ea7d 100755 --- a/TOOLS/stats-conv.py +++ b/TOOLS/stats-conv.py @@ -45,6 +45,9 @@ def get_event(event): return G.events[event] for line in [line.split("#")[0].strip() for line in open(filename, "r")]: + line = line.strip() + if not line: + continue ts, event = line.split(" ", 1) ts = int(ts) / 1000 # milliseconds if G.start is None: |