count_events: handle missing logs

old-commit-hash: 4b4efead891e9863b0af9675eb0a1fa078964461
This commit is contained in:
Adeeb Shihadeh
2021-10-25 10:24:30 -07:00
parent e05237f5a2
commit 55cc85096e
+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':