mirror of
https://github.com/mbirth/tcl_ota_check.git
synced 2024-09-20 06:43:26 +01: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:
|
try:
|
||||||
fc.reset_session()
|
fc.reset_session()
|
||||||
fc.curef = curef
|
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)
|
curef, fv, tv, fw_id, fileid, fn, fsize, fhash = fc.parse_check(check_xml)
|
||||||
txt_tv = tv
|
txt_tv = tv
|
||||||
print("{}: {} {}".format(curef, txt_tv, fhash))
|
print("{}: {} {}".format(curef, txt_tv, fhash))
|
||||||
|
@ -56,7 +56,7 @@ for fv in allvers:
|
|||||||
try:
|
try:
|
||||||
fc.reset_session()
|
fc.reset_session()
|
||||||
fc.fv = fv
|
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)
|
curef, fv, tv, fw_id, fileid, fn, fsize, fhash = fc.parse_check(check_xml)
|
||||||
txt_tv = tv
|
txt_tv = tv
|
||||||
print("{}: {} ⇨ {} {}".format(curef, fv, txt_tv, fhash))
|
print("{}: {} ⇨ {} {}".format(curef, fv, txt_tv, fhash))
|
||||||
|
Loading…
Reference in New Issue
Block a user