From 111286dc6e9e175b4fba0d8ded5eb94e31c5615b Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Fri, 6 Oct 2017 22:25:44 +0200 Subject: [PATCH] Output OTA version when newer full image is available. --- tclcheck_allfull.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tclcheck_allfull.py b/tclcheck_allfull.py index 22deae4..52d0141 100755 --- a/tclcheck_allfull.py +++ b/tclcheck_allfull.py @@ -31,7 +31,7 @@ with open("prds.txt", "rt") as f: curef, fv, tv, fw_id, fileid, fn, fsize, fhash = fc.parse_check(check_xml) txt_tv = tv if tv != lastver: - txt_tv = tcllib.ANSI_CYAN + txt_tv + tcllib.ANSI_RESET + txt_tv = tcllib.ANSI_CYAN + txt_tv + tcllib.ANSI_RESET + " (OTA: {})".format(lastver) print("{}: {} {} ({})".format(prd, txt_tv, fhash, model)) except RequestException as e: print("{}: {}".format(prd, str(e)))