Skip to content

Commit

Permalink
fix regression saving file
Browse files Browse the repository at this point in the history
  • Loading branch information
javierluraschi committed Jul 31, 2024
1 parent 75a3f6c commit 363e106
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/hal9/iobind.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def save(name, contents = None, hidden = False, files = None):
if isinstance(contents, str):
file_path.write_text(contents)
else:
if extension == "json":
if extension == "pkl":
with open(file_path, 'wb') as file:
pickle.dump(contents, file)
else:
Expand Down
2 changes: 1 addition & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "hal9"
version = "2.5.7"
version = "2.5.8"
description = ""
authors = ["Javier Luraschi <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 363e106

Please sign in to comment.