mirror of
https://github.com/mbirth/tcl_ota_check.git
synced 2024-11-10 06:16:46 +00:00
Increase tries for finding new versions.
This commit is contained in:
parent
dd72a6cb65
commit
5f81bc6062
@ -52,7 +52,7 @@ for center in sorted(prddict.keys()):
|
||||
try:
|
||||
fc.reset_session()
|
||||
fc.curef = curef
|
||||
check_xml = fc.do_check(https=False, max_tries=3)
|
||||
check_xml = fc.do_check(https=False, max_tries=20)
|
||||
curef, fv, tv, fw_id, fileid, fn, fsize, fhash = fc.parse_check(check_xml)
|
||||
txt_tv = tv
|
||||
print("{}: {} {}".format(curef, txt_tv, fhash))
|
||||
|
@ -56,7 +56,7 @@ for fv in allvers:
|
||||
try:
|
||||
fc.reset_session()
|
||||
fc.fv = fv
|
||||
check_xml = fc.do_check(https=False, max_tries=3)
|
||||
check_xml = fc.do_check(https=False, max_tries=20)
|
||||
curef, fv, tv, fw_id, fileid, fn, fsize, fhash = fc.parse_check(check_xml)
|
||||
txt_tv = tv
|
||||
print("{}: {} ⇨ {} {}".format(curef, fv, txt_tv, fhash))
|
||||
|
Loading…
Reference in New Issue
Block a user