diff --git a/tclcheck_allfull.py b/tclcheck_allfull.py index 52d0141..61b4289 100755 --- a/tclcheck_allfull.py +++ b/tclcheck_allfull.py @@ -27,7 +27,7 @@ with open("prds.txt", "rt") as f: try: fc.reset_session() fc.curef = prd - check_xml = fc.do_check() + check_xml = fc.do_check(max_tries=20) curef, fv, tv, fw_id, fileid, fn, fsize, fhash = fc.parse_check(check_xml) txt_tv = tv if tv != lastver: diff --git a/tclcheck_allota.py b/tclcheck_allota.py index 55c3354..4b0aa2f 100755 --- a/tclcheck_allota.py +++ b/tclcheck_allota.py @@ -33,7 +33,7 @@ with open("prds.txt", "r") as f: fc.reset_session() fc.curef = prd fc.fv = lastver - check_xml = fc.do_check() + check_xml = fc.do_check(max_tries=20) curef, fv, tv, fw_id, fileid, fn, fsize, fhash = fc.parse_check(check_xml) print("{}: {} ⇨ {} {} ({})".format(prd, fv, tv, fhash, model)) except RequestException as e: