Update fc_block_decode.py sudo tee

fc-7
Alan Johnston 10 months ago committed by GitHub
parent 92c3f587b2
commit 5d2fd446ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -63,7 +63,7 @@ if __name__ == "__main__":
except:
print("File error")
# try:
system("/home/pi/ssdv/ssdv -d -J /home/pi/fctelem/image_file_payload /home/pi/fctelem/image_file_payload.jpeg 2>&1 | tee /home/pi/fctelem/ssdv_output")
system("/home/pi/ssdv/ssdv -d -J /home/pi/fctelem/image_file_payload /home/pi/fctelem/image_file_payload.jpeg 2>&1 | sudo tee /home/pi/fctelem/ssdv_output")
with open("/home/pi/fctelem/ssdv_output", "r") as file:
for line in file:
# print("line:")

Loading…
Cancel
Save

Powered by TurnKey Linux.