mirror of
https://github.com/mbirth/tcl_ota_check.git
synced 2024-11-10 06:16:46 +00:00
Use cyan for terminals with a prominent "grey".
This commit is contained in:
parent
d167f06c3f
commit
11370f618e
@ -33,7 +33,7 @@ while len(prds) > 0:
|
|||||||
curef, fv, tv, fw_id, fileid, fn, fsize, fhash = fc.parse_check(check_xml)
|
curef, fv, tv, fw_id, fileid, fn, fsize, fhash = fc.parse_check(check_xml)
|
||||||
txt_tv = tv
|
txt_tv = tv
|
||||||
if tv != lastver:
|
if tv != lastver:
|
||||||
txt_tv = tcllib.ANSI_WHITE + txt_tv + tcllib.ANSI_RESET
|
txt_tv = tcllib.ANSI_CYAN + txt_tv + tcllib.ANSI_RESET
|
||||||
print("{}: {} {} ({})".format(prd, txt_tv, fhash, model))
|
print("{}: {} {} ({})".format(prd, txt_tv, fhash, model))
|
||||||
prds.pop(0)
|
prds.pop(0)
|
||||||
except Timeout as e:
|
except Timeout as e:
|
||||||
|
Loading…
Reference in New Issue
Block a user