1
0
mirror of https://github.com/mbirth/tcl_ota_check.git synced 2024-09-19 22:33:25 +01:00

Use last full version if no known OTA.

This commit is contained in:
Markus Birth 2017-12-19 16:32:14 +01:00
parent f721d2acef
commit c950929496
Signed by: mbirth
GPG Key ID: A9928D7A098C3A9A

View File

@ -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: