mirror of
https://github.com/mbirth/tcl_ota_check.git
synced 2024-11-10 06:16:46 +00:00
Use last full version if no known OTA.
This commit is contained in:
parent
f721d2acef
commit
c950929496
@ -38,6 +38,7 @@ print("List of latest OTA firmware{} by PRD:".format(force_ver_text))
|
|||||||
for prd, variant in prds.items():
|
for prd, variant in prds.items():
|
||||||
model = variant["variant"]
|
model = variant["variant"]
|
||||||
lastver = variant["last_ota"]
|
lastver = variant["last_ota"]
|
||||||
|
if lastver is None: lastver = variant["last_full"]
|
||||||
if args.forcever is not None:
|
if args.forcever is not None:
|
||||||
lastver = args.forcever
|
lastver = args.forcever
|
||||||
if prdcheck in prd:
|
if prdcheck in prd:
|
||||||
|
Loading…
Reference in New Issue
Block a user