Skip to content

Commit

Permalink
Merge pull request #4089 from anoma/tiago/gen-localnet-json-fix
Browse files Browse the repository at this point in the history
Fix `gen_localnet.py` json exception
  • Loading branch information
mergify[bot] authored Nov 26, 2024
2 parents 10dfb2f + 2604264 commit 7b7e59a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/gen_localnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ def full_nodes_object(s):
def load_json(s):
try:
return json.loads(s)
except json.decode.JSONDecodeError:
except json.JSONDecodeError:
# assume we're dealing with a file path
with open(s, "r") as f:
return json.load(f)
Expand Down

0 comments on commit 7b7e59a

Please sign in to comment.