Skip to content
Snippets Groups Projects
Commit 62a91bfd authored by Kien Le's avatar Kien Le
Browse files

Fix bug

Fix bug where content of ASCII files are read twice.
parent dcf80c06
No related branches found
No related tags found
1 merge request!52Fix bug where content of ASCII files are read twice.
Pipeline #2025 passed with stage
in 3 minutes and 27 seconds
...@@ -250,7 +250,6 @@ def readASCII(path2file, file, sta_id, chan_id, trace, log_data, track_info): ...@@ -250,7 +250,6 @@ def readASCII(path2file, file, sta_id, chan_id, trace, log_data, track_info):
logText = "\n\nSTATE OF HEALTH: " logText = "\n\nSTATE OF HEALTH: "
logText += ("From:%s To:%s\n" % (h.starttime, h.endtime)) logText += ("From:%s To:%s\n" % (h.starttime, h.endtime))
textFromData = trace.data.tobytes().decode() textFromData = trace.data.tobytes().decode()
logText += textFromData
if textFromData != '': if textFromData != '':
logText += textFromData logText += textFromData
else: else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment