Update fc_block_decode.py try adding csv string to index

fc-c
Alan Johnston 10 months ago committed by GitHub
parent d9fa7a9dc1
commit 06de1ec262
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -162,6 +162,11 @@ if __name__ == "__main__":
with open(html_dir + "index.html", "w") as html_file: with open(html_dir + "index.html", "w") as html_file:
html_file.write(head_string) html_file.write(head_string)
html_file.write(telem_string) html_file.write(telem_string)
with open(html_dir + "/images/telem.csv.txt", "r") as csv_file:
csv_file.read(old_tlm_string)
html_file.write(old_tlm_string)
html_file.write(tlm_string)
html_file.write("\n")
html_file.write(foot_string) html_file.write(foot_string)
else: else:
print("Payload not an image!") print("Payload not an image!")

Loading…
Cancel
Save

Powered by TurnKey Linux.