Skip to content

Commit

Permalink
fix regression in load
Browse files Browse the repository at this point in the history
  • Loading branch information
javierluraschi committed Jul 18, 2024
1 parent 1c26ad7 commit 922e733
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 @@ -7,7 +7,7 @@
def add_extension(path, contents):
_, extension = os.path.splitext(path)
if not extension:
if isinstance(contents, dict):
if isinstance(contents, dict) or isinstance(contents, list):
path = path + ".json"
else:
path = path + ".pkl"
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.4.6"
version = "2.4.7"
description = ""
authors = ["Javier Luraschi <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 922e733

Please sign in to comment.