diff --git a/groundstation/fc_block_decode.py b/groundstation/fc_block_decode.py index 2ae9c157..757a2853 100644 --- a/groundstation/fc_block_decode.py +++ b/groundstation/fc_block_decode.py @@ -37,7 +37,8 @@ image_dir = "/home/pi/fctelem/" image = "image_file" ssdv = "/home/pi/ssdv/ssdv -d -J " -date_time = str(datetime.datetime.now()) +date_time_string = str(datetime.datetime.now()) +date_time = date_time_string[:21] system_and_print("sudo rm " + image_dir + image) #system_and_print("sudo rm " + html_dir + "*") @@ -177,7 +178,8 @@ if __name__ == "__main__": for line in csv_file: html_file.write(line) html_file.write("
") - date_time = str(datetime.datetime.now()) + date_time_string = str(datetime.datetime.now()) + date_time = date_time_string[:21] tlm_string = fstr(csv_format) html_file.write(tlm_string) html_file.write("
")