From c95092949629aa898efe75cf0f6370bb81595fb7 Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Tue, 19 Dec 2017 16:32:14 +0100 Subject: [PATCH] Use last full version if no known OTA. --- tclcheck_allota.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tclcheck_allota.py b/tclcheck_allota.py index 45eca86..c9a224f 100755 --- a/tclcheck_allota.py +++ b/tclcheck_allota.py @@ -38,6 +38,7 @@ print("List of latest OTA firmware{} by PRD:".format(force_ver_text)) for prd, variant in prds.items(): model = variant["variant"] lastver = variant["last_ota"] + if lastver is None: lastver = variant["last_full"] if args.forcever is not None: lastver = args.forcever if prdcheck in prd: