mirror of
https://github.com/mbirth/tcl_ota_check.git
synced 2024-11-12 23:36:46 +00:00
Renamed tclcheck_new.py to tclcheck_findprd.py
This commit is contained in:
parent
8b7de97f84
commit
e367b1ba73
2
tclcheck_new.py → tclcheck_findprd.py
Executable file → Normal file
2
tclcheck_new.py → tclcheck_findprd.py
Executable file → Normal file
@ -46,7 +46,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)
|
check_xml = fc.do_check(https=False, max_tries=3)
|
||||||
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))
|
Loading…
Reference in New Issue
Block a user