1
0
mirror of https://github.com/mbirth/tcl_ota_check.git synced 2024-11-09 22:06:47 +00:00
This commit is contained in:
thurask 2017-10-14 20:02:24 -04:00
parent 69315d8fe2
commit accc171311
No known key found for this signature in database
GPG Key ID: A6CCCDEA29795048

View File

@ -42,7 +42,7 @@ fileid, fileurl, slaves, encslaves = fc.parse_request(req_xml)
for s in slaves:
print("http://{}{}".format(s, fileurl))
if fc.mode == fc.MODE_FULL:
if fc.mode == fc.MODE.FULL:
header = fc.do_encrypt_header(random.choice(encslaves), fileurl)
if len(header) == 4194320:
print("Header length check passed. Writing to header_{}.bin.".format(tv))