Skip to content

Commit

Permalink
Merge of #4089
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Nov 26, 2024
2 parents 10dfb2f + 2604264 commit f6293cc
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 f6293cc

Please sign in to comment.