Skip to content

Commit

Permalink
fix lint check
Browse files Browse the repository at this point in the history
Signed-off-by: Far <[email protected]>
  • Loading branch information
alexstroke1 authored and Far committed Nov 19, 2024
1 parent 7b517be commit be8d19a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pytests/iroha_cli_tests/src/iroha_cli/iroha_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,7 @@ def _read_and_update_json(self, template_filename, changes=None):
for key_path, value in changes.items():
element = data[0]
for key in key_path[:-1]:
element = element[
key
]
element = element[key]
element[key_path[-1]] = value

json_temp_file_path = Path(ISI_PATH) / f"isi_{template_filename}"
Expand Down

0 comments on commit be8d19a

Please sign in to comment.