fix car params setter script

pull/21124/head
Adeeb Shihadeh 2021-06-01 20:59:03 -07:00
parent 76d49e8410
commit 989ffa36e5
1 changed files with 1 additions and 1 deletions

View File

@ -8,4 +8,4 @@ from tools.lib.logreader import LogReader
if __name__ == "__main__":
r = Route(sys.argv[1])
cp = [m for m in LogReader(r.qlog_paths()[0]) if m.which() == 'carParams']
Params().put("CarParams", cp[0].as_builder().to_bytes())
Params().put("CarParams", cp[0].carParams.as_builder().to_bytes())