1
0
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:
Markus Birth 2017-10-12 16:58:29 +02:00
parent dd72a6cb65
commit 5f81bc6062
2 changed files with 2 additions and 2 deletions

View File

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

View File

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