count_events: handle missing logs

This commit is contained in:
Adeeb Shihadeh
2021-10-25 10:24:30 -07:00
parent 93d87cdc6f
commit 4b4efead89
+2
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':