fingerprinted: log platform string

This does get safely converted to a string in the logs, but in the console it's the repr
pull/33202/head
Shane Smiskol 10 months ago committed by GitHub
parent 86aeb123bc
commit d1140cc644
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      selfdrive/car/car_helpers.py

@ -157,7 +157,7 @@ def fingerprint(logcan, sendcan, set_obd_multiplexing, num_pandas):
car_fingerprint = fixed_fingerprint
source = car.CarParams.FingerprintSource.fixed
carlog.error({"event": "fingerprinted", "car_fingerprint": car_fingerprint, "source": source, "fuzzy": not exact_match,
carlog.error({"event": "fingerprinted", "car_fingerprint": str(car_fingerprint), "source": source, "fuzzy": not exact_match,
"cached": cached, "fw_count": len(car_fw), "ecu_responses": list(ecu_rx_addrs), "vin_rx_addr": vin_rx_addr,
"vin_rx_bus": vin_rx_bus, "fingerprints": repr(finger), "fw_query_time": fw_query_time})

Loading…
Cancel
Save