Update fc_block_decode.py convert date time to string

fc-sub
Alan Johnston 10 months ago committed by GitHub
parent 848820a3f6
commit d895ad196d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -37,7 +37,7 @@ image_dir = "/home/pi/fctelem/"
image = "image_file" image = "image_file"
ssdv = "/home/pi/ssdv/ssdv -d -J " ssdv = "/home/pi/ssdv/ssdv -d -J "
date_time = datetime.datetime.now() date_time = str(datetime.datetime.now())
system_and_print("sudo rm " + image_dir + image) system_and_print("sudo rm " + image_dir + image)
#system_and_print("sudo rm " + html_dir + "*") #system_and_print("sudo rm " + html_dir + "*")
@ -177,7 +177,7 @@ if __name__ == "__main__":
for line in csv_file: for line in csv_file:
html_file.write(line) html_file.write(line)
html_file.write("<br>") html_file.write("<br>")
date_time = datetime.datetime.now() date_time = str(datetime.datetime.now())
tlm_string = fstr(csv_format) tlm_string = fstr(csv_format)
html_file.write(tlm_string) html_file.write(tlm_string)
html_file.write("</pre><br>") html_file.write("</pre><br>")

Loading…
Cancel
Save

Powered by TurnKey Linux.