count_events: handle missing logs

pull/22689/head
Adeeb Shihadeh 2021-10-25 10:24:30 -07:00
parent 93d87cdc6f
commit 4b4efead89
1 changed files with 2 additions and 0 deletions

View File

@ -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':