From 8ace80ffbc944696d8df81af716f608b82852c8f Mon Sep 17 00:00:00 2001 From: Voronor <129545215+voronor@users.noreply.github.com> Date: Sat, 23 Nov 2024 12:12:25 +0100 Subject: [PATCH] Fix Incorrect Use of update Method in remove_prefix_from_names Function --- scripts/get_hashes_page.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/get_hashes_page.py b/scripts/get_hashes_page.py index 593e79704..8885c6280 100644 --- a/scripts/get_hashes_page.py +++ b/scripts/get_hashes_page.py @@ -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