From 1f90b0de690e1925b6798599f8c7f86cda9a1042 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Tue, 11 Feb 2025 17:08:12 -0500 Subject: [PATCH] Update fc_block_decode.py csv under images --- groundstation/fc_block_decode.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/groundstation/fc_block_decode.py b/groundstation/fc_block_decode.py index 4d0f39b7..b90f7a3f 100644 --- a/groundstation/fc_block_decode.py +++ b/groundstation/fc_block_decode.py @@ -56,7 +56,7 @@ with open(html_dir + "index.html", "w+") as html_file: html_file.write(telem_string) html_file.write(foot_string) -with open(html_dir + "telem.csv.txt", "w+") as csv_file: +with open(html_dir + "/images/telem.csv.txt", "w+") as csv_file: csv_file.write(csv_format) image_id = 256 # set illegal image ID for null # random.randint(0, 255) @@ -169,7 +169,7 @@ if __name__ == "__main__": frequency_string, errors = " ", 0 tlm_string = fstr(csv_format) - with open(html_dir + "telem.csv.txt", "a") as csv_file: + with open(html_dir + "/images/telem.csv.txt", "a") as csv_file: csv_file.write(tlm_string)