From db89ea3c12cacde00aae263b222062bd47a3c50e Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 21 Feb 2025 16:39:22 -0500 Subject: [PATCH] Update fc_block_decode.py save image --- groundstation/fc_block_decode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/groundstation/fc_block_decode.py b/groundstation/fc_block_decode.py index 956cbbca..3d862902 100644 --- a/groundstation/fc_block_decode.py +++ b/groundstation/fc_block_decode.py @@ -141,12 +141,12 @@ if __name__ == "__main__": print("End of image") if (image_id != 256): print("Saving complete image") + system("cp " + filename + " " + html_dir + "images/") newfilename = image_dir + image + str(new_image_id) + ".jpeg" # system(ssdv + image_dir + image + " " + filename) system("mv " + filename + " " + newfilename) system("mv " + image_dir + image + " " + image_dir + image + str(image_id)) # system("cp " + filename + " " + html_dir + "images/" + image + str(image_id) + ".jpeg") - system("cp " + filename + " " + html_dir + "images/") else: system("sudo rm " + image_dir + image) print("New Image ID: ")