Skip to content

Commit

Permalink
Fix Incorrect Use of update Method in remove_prefix_from_names Function
Browse files Browse the repository at this point in the history
  • Loading branch information
voronor authored Nov 23, 2024
1 parent 3fdef27 commit 8ace80f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/get_hashes_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def generate_doc_file(cmp_version, contracts):

def remove_prefix_from_names(contracts):
for contract in contracts:
contract.update([("name", remove_prefix(contract['name'], 'openzeppelin_presets_'))])
contract.update({"name": remove_prefix(contract['name'], 'openzeppelin_presets_')})
return contracts


Expand Down

0 comments on commit 8ace80f

Please sign in to comment.