Fix assert error when flashing release (#717)

This commit is contained in:
Dange
2021-09-10 23:19:13 +08:00
committed by GitHub
parent fb8f452d68
commit 1befaad8b0

View File

@@ -34,7 +34,7 @@ def flash_release(path=None, st_serial=None):
zf = ZipFile(path)
zf.printdir()
version = zf.read("version").decode()
version = zf.read("version").decode().strip()
status("0. Preparing to flash " + str(version))
code_bootstub = zf.read("bootstub.panda.bin")