Update fc_block_decode.py .cfg

pull/370/head
Alan Johnston 6 months ago committed by GitHub
parent 083ec0899c
commit e9a0d8c93b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -44,9 +44,12 @@ system_and_print("sudo rm " + image_dir + image)
#system_and_print("sudo rm " + html_dir + "*") #system_and_print("sudo rm " + html_dir + "*")
system_and_print("sudo rm " + html_dir + "images/*") system_and_print("sudo rm " + html_dir + "images/*")
with open('/home/pi/fctelem/fctelem.conf', 'r') as config: try:
with open('/home/pi/fctelem/fctelem.cfg', 'r') as config:
config_string = config.read() config_string = config.read()
print(config_string) print(config_string)
catch:
print("Error loading fctelem.cfg")
#system_and_print("cp /home/pi/CubeSatSim/sstv/sstv_image_1_320_x_256.jpg " + html_dir + "image_file.jpeg") #system_and_print("cp /home/pi/CubeSatSim/sstv/sstv_image_1_320_x_256.jpg " + html_dir + "image_file.jpeg")

Loading…
Cancel
Save

Powered by TurnKey Linux.