Skip to content

Commit

Permalink
Merge pull request #4103 from anoma/mergify/bp/maint-0.46/pr-4089
Browse files Browse the repository at this point in the history
Fix `gen_localnet.py` json exception (backport #4089)
  • Loading branch information
mergify[bot] authored Nov 28, 2024
2 parents a3e1747 + cac1f85 commit 6bd88fc
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 6bd88fc

Please sign in to comment.