Merge remote-tracking branch 'upstream/master' into reset-curvature

pull/34943/head
Shane Smiskol 3 months ago
commit 411ee00924
  1. 2
      opendbc_repo
  2. 2
      selfdrive/ui/translations/main_es.ts
  3. 13
      tools/lib/logreader.py

@ -1 +1 @@
Subproject commit 37a1734d14839f5932891eb062ca3447f2aa8b53
Subproject commit 9c59c5ac4ed76ed6b3c20b634c5ccb5d58524d4f

@ -681,7 +681,7 @@ Esto puede tardar un minuto.</translation>
</message>
<message>
<source>Firehose</source>
<translation type="unfinished"></translation>
<translation>Firehose</translation>
</message>
</context>
<context>

@ -13,7 +13,6 @@ import warnings
import zstandard as zstd
from collections.abc import Callable, Iterable, Iterator
from concurrent.futures import ThreadPoolExecutor, as_completed
from urllib.parse import parse_qs, urlparse
from cereal import log as capnp_log
@ -202,15 +201,9 @@ def direct_source(file_or_url: str) -> list[LogPath]:
def get_invalid_files(files):
if not files:
return
with ThreadPoolExecutor(max_workers=32) as executor:
future_to_file = {executor.submit(file_exists, file): file for file in files}
for future in as_completed(future_to_file):
file = future_to_file[future]
if not future.result():
yield file
for f in files:
if f is None or not file_exists(f):
yield f
def check_source(source: Source, *args) -> list[LogPath]:

Loading…
Cancel
Save