Update fc_block_decode.py add f=

fc-fctelem
Alan Johnston 10 months ago committed by GitHub
parent 17b6179641
commit 41e70a911f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -51,9 +51,9 @@ if __name__ == "__main__":
# payload = bytearray(data_block[(FC_PAYLOAD + extended):])
immutable_payload = bytes(bytearray(data_block[(FC_PAYLOAD + extended):])) # payload)
print(immutable_payload)
with open("image_file", "ab") as binary_file:
with (f = open("image_file", "ab")) as binary_file:
binary_file.write(immutable_payload)
# f.close()
f.close()
sleep(60)
except:
print("File error")

Loading…
Cancel
Save

Powered by TurnKey Linux.