mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-22 22:42:05 +08:00
juggle.py: add exception
This commit is contained in:
@@ -69,7 +69,7 @@ def juggle_route(route_name, segment_number, qlog, layout):
|
||||
try:
|
||||
DBC = __import__(f"selfdrive.car.{cp.carParams.carName}.values", fromlist=['DBC']).DBC
|
||||
dbc = DBC[cp.carParams.carFingerprint]['pt']
|
||||
except (ImportError, KeyError):
|
||||
except (ImportError, KeyError, AttributeError):
|
||||
pass
|
||||
break
|
||||
|
||||
|
||||
Reference in New Issue
Block a user