diff --git a/groundstation/fc_block_decode.py b/groundstation/fc_block_decode.py index 05d1605b..f9e68d02 100644 --- a/groundstation/fc_block_decode.py +++ b/groundstation/fc_block_decode.py @@ -162,11 +162,13 @@ if __name__ == "__main__": with open(html_dir + "index.html", "w") as html_file: html_file.write(head_string) html_file.write(telem_string) + html_file.write("
") with open(html_dir + "/images/telem.csv.txt", "r") as csv_file: - csv_file.read(old_tlm_string) - html_file.write(old_tlm_string) + for line in csv_file: + html_file.write(line) + html_file.write("
") html_file.write(tlm_string) - html_file.write("\n") + html_file.write("
") html_file.write(foot_string) else: print("Payload not an image!")