diff --git a/groundstation/fc_block_decode.py b/groundstation/fc_block_decode.py index 523c816d..c5d0853a 100644 --- a/groundstation/fc_block_decode.py +++ b/groundstation/fc_block_decode.py @@ -47,7 +47,8 @@ if __name__ == "__main__": try: print("Writing payload to file") f = open('image_file','a') - data_block[FC_PAYLOAD + extended].tofile(f) + print("File opened") + data_block[FC_PAYLOAD + extended:].tofile(f) f.close() sleep(60) except: