Fix f-string in test_fw_query_on_routes.py

pull/31041/head
Shane Smiskol 1 year ago committed by GitHub
parent 0b5fd7287e
commit 8c544d9139
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      selfdrive/debug/test_fw_query_on_routes.py

@ -113,7 +113,7 @@ if __name__ == "__main__":
for version in sorted(car_fw, key=lambda fw: fw.brand):
subaddr = None if version.subAddress == 0 else hex(version.subAddress)
print(f" Brand: {version.brand or UNKNOWN_BRAND:{padding}}, bus: {version.bus} - " +
"(Ecu.{version.ecu}, {hex(version.address)}, {subaddr}): [{version.fwVersion}],")
f"(Ecu.{version.ecu}, {hex(version.address)}, {subaddr}): [{version.fwVersion}],")
print("Mismatches")
found = False

Loading…
Cancel
Save