Skip to content

Commit f190e1a

Browse files
authored
Merge pull request #2994 from gbarter/ofio_fix
making sure to close file handle in ofio turbsim reader
2 parents a4df9c0 + 63cc3bc commit f190e1a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

openfast_io/openfast_io/turbsim_util.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ def read_input_file(self, input_file_name):
9090
self.CTLz = inpf.readline().split()[0]
9191
self.CTStartTime = inpf.readline().split()[0]
9292

93+
inpf.close()
94+
9395

9496
class TurbsimWriter(object):
9597

0 commit comments

Comments
 (0)