count_events: handle missing logs

old-commit-hash: 4b4efead89
vw-mqb-aeb
Adeeb Shihadeh 4 years ago
parent e05237f5a2
commit 55cc85096e
  1. 2
      selfdrive/debug/count_events.py

@ -14,6 +14,8 @@ if __name__ == "__main__":
cnt_events: Counter = Counter()
for q in tqdm(r.qlog_paths()):
if q is None:
continue
lr = list(LogReader(q))
for msg in lr:
if msg.which() == 'carEvents':

Loading…
Cancel
Save