Skip to content

Commit

Permalink
Merge pull request #49 from qua-platform/fix/json-int-keys-folder
Browse files Browse the repository at this point in the history
Fix: Convert QuAM keys to ints for folders
  • Loading branch information
nulinspiratie authored Jul 4, 2024
2 parents f187fb3 + 1e0bea3 commit 7ccf830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quam/serialisation/json.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def load(
continue

with open(file, "r") as f:
file_contents = json.load(f)
file_contents = json.load(f, object_hook=convert_int_keys)
contents.update(file_contents)

if file.name == self.default_filename:
Expand Down

0 comments on commit 7ccf830

Please sign in to comment.