diff --git a/groundstation/fc_block_decode.py b/groundstation/fc_block_decode.py index 22930798..4745d2a4 100644 --- a/groundstation/fc_block_decode.py +++ b/groundstation/fc_block_decode.py @@ -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 + "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() 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")