1
0
mirror of https://github.com/mbirth/tcl_ota_check.git synced 2024-11-09 22:06:47 +00:00

Use cyan for terminals with a prominent "grey".

This commit is contained in:
Markus Birth 2017-10-05 21:45:13 +02:00
parent d167f06c3f
commit 11370f618e
Signed by: mbirth
GPG Key ID: A9928D7A098C3A9A

View File

@ -33,7 +33,7 @@ while len(prds) > 0:
curef, fv, tv, fw_id, fileid, fn, fsize, fhash = fc.parse_check(check_xml)
txt_tv = tv
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))
prds.pop(0)
except Timeout as e: