From 6527a3797020bcf61795cbfff6a555024f546e7f Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 8 Jun 2025 22:03:31 -0400 Subject: [PATCH] Update fc_block_decode.py fixed tabs --- groundstation/fc_block_decode.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/groundstation/fc_block_decode.py b/groundstation/fc_block_decode.py index 4745d2a4..16487ccd 100644 --- a/groundstation/fc_block_decode.py +++ b/groundstation/fc_block_decode.py @@ -45,11 +45,11 @@ system_and_print("sudo rm " + image_dir + image) system_and_print("sudo rm " + html_dir + "images/*") try: -with open('/home/pi/fctelem/fctelem.cfg', 'r') as config: - config_string = config.read() - print(config_string) -catch: - print("Error loading fctelem.cfg") + with open('/home/pi/fctelem/fctelem.cfg', 'r') as config: + config_string = config.read() + print(config_string) +except: + 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")