Skip to content

Commit

Permalink
Close Excel file
Browse files Browse the repository at this point in the history
  • Loading branch information
enekomartinmartinez committed Mar 11, 2024
1 parent 11a6fd9 commit ad677f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion excels2vensim/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.14.0"
__version__ = "0.14.1"
2 changes: 2 additions & 0 deletions excels2vensim/excels2vensim.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,8 @@ def _write_cellrange(name, file, sheet, cellrange, force):
new_range = DefinedName(
name, attr_text=cellrange, localSheetId=sheetId)
local_cellranges.add(new_range)
# Close file
wb.close()

@staticmethod
def _col_to_num(col):
Expand Down

0 comments on commit ad677f7

Please sign in to comment.