mirror of
https://github.com/mbirth/tcl_ota_check.git
synced 2024-11-10 06:16:46 +00:00
Output download XML instead of check XML.
This commit is contained in:
parent
8a02b42204
commit
231abe73d4
@ -189,11 +189,11 @@ if __name__ == "__main__":
|
|||||||
fc.cltp = 10
|
fc.cltp = 10
|
||||||
|
|
||||||
check_xml = fc.do_check()
|
check_xml = fc.do_check()
|
||||||
print(fc.pretty_xml(check_xml))
|
#print(fc.pretty_xml(check_xml))
|
||||||
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)
|
||||||
|
|
||||||
req_xml = fc.do_request(curef, fv, tv, fw_id)
|
req_xml = fc.do_request(curef, fv, tv, fw_id)
|
||||||
#print(fc.pretty_xml(req_xml))
|
print(fc.pretty_xml(req_xml))
|
||||||
fileid, fileurl, slaves = fc.parse_request(req_xml)
|
fileid, fileurl, slaves = fc.parse_request(req_xml)
|
||||||
|
|
||||||
for s in slaves:
|
for s in slaves:
|
||||||
|
Loading…
Reference in New Issue
Block a user