From 5f81bc60626e4ac228432dfa1979e4393f3d390b Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Thu, 12 Oct 2017 16:58:29 +0200 Subject: [PATCH] Increase tries for finding new versions. --- tclcheck_findprd.py | 2 +- tclcheck_findver.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tclcheck_findprd.py b/tclcheck_findprd.py index 104231d..41512fc 100644 --- a/tclcheck_findprd.py +++ b/tclcheck_findprd.py @@ -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)) diff --git a/tclcheck_findver.py b/tclcheck_findver.py index 3019f82..bbac1c7 100644 --- a/tclcheck_findver.py +++ b/tclcheck_findver.py @@ -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))