Update fc_block_decode.py with open

fc-fctelem
Alan Johnston 10 months ago committed by GitHub
parent eb5d4e2f45
commit 7d4451509c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -72,8 +72,8 @@ if __name__ == "__main__":
# print(process.stdout)
# s = io.StringIO(process.stdout)
# for line in s:
ssdv_output_file = open("ssdv_output", "r")
for line in ssdv_output_file:
with open("ssdv_output", "r") as file:
for line in file:
print("line:")
print(line)
if ((line.find("Image ID:")) > 0):

Loading…
Cancel
Save

Powered by TurnKey Linux.