Skip to content

Commit

Permalink
BUG: Fix roff reading not closing file
Browse files Browse the repository at this point in the history
  • Loading branch information
eivindjahren committed Nov 12, 2021
1 parent dfae6fe commit e975668
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/xtgeo/grid3d/_grid_import_roff.py
Original file line number Diff line number Diff line change
@@ -99,6 +99,8 @@ def handle_deprecated_xtgeo_roff_file(filelike):

else:
yield filelike
if close:
inhandle.close()


def import_roff(gfile):

0 comments on commit e975668

Please sign in to comment.