Archived
Increase tries for finding new versions.
This commit is contained in:
+1
-1
@@ -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))
|
||||||
|
|||||||
+1
-1
@@ -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))
|
||||||
|
|||||||
Reference in New Issue
Block a user