mirror of
https://github.com/mbirth/tcl_ota_check.git
synced 2024-11-09 22:06:47 +00:00
Highlight full versions different to latest OTA.
This commit is contained in:
parent
f324f4d283
commit
ab18cc66c5
@ -31,8 +31,8 @@ while len(prds) > 0:
|
||||
check_xml = fc.do_check()
|
||||
curef, fv, tv, fw_id, fileid, fn, fsize, fhash = fc.parse_check(check_xml)
|
||||
txt_tv = tv
|
||||
if fc.mode == fc.MODE_OTA:
|
||||
txt_tv = "{} ⇨ {}".format(fv, tv)
|
||||
if tv != lastver:
|
||||
txt_tv = tcllib.ANSI_WHITE + txt_tv + tcllib.ANSI_RESET
|
||||
print("{}: {} {} ({})".format(prd, txt_tv, fhash, model))
|
||||
prds.pop(0)
|
||||
except Timeout as e:
|
||||
|
Loading…
Reference in New Issue
Block a user