mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-27 00:42:05 +08:00
count_events: handle missing logs
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user