From c21c0ceeb83af878bc3b73501d5e182c894c714e Mon Sep 17 00:00:00 2001 From: Justin Newberry Date: Mon, 18 Dec 2023 15:56:48 -0800 Subject: [PATCH] fix script --- selfdrive/debug/format_fingerprints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/debug/format_fingerprints.py b/selfdrive/debug/format_fingerprints.py index 40fe95079a..8b619f3df9 100644 --- a/selfdrive/debug/format_fingerprints.py +++ b/selfdrive/debug/format_fingerprints.py @@ -11,7 +11,7 @@ FINGERPRINTS = get_interface_attr('FINGERPRINTS') PLATFORM_TO_PYTHON_CAR_NAME = {brand: {car.value: car.name for car in CARS[brand]} for brand in CARS} ECU_NUMBER_TO_NAME = {v: k for k, v in Ecu.schema.enumerants.items()} -FINGERPRINTS_PY_TEMPLATE = """{% if brand in FINGERPRINTS %} +FINGERPRINTS_PY_TEMPLATE = """{% if FINGERPRINTS[brand] %} # ruff: noqa: E501 {% endif %} {% if FW_VERSIONS[brand] %}