Skip to content

Commit ef46a3c

Browse files
Fix for Variable defined multiple times
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 1aa6353 commit ef46a3c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/videoipath_automation_tool/apps/inventory/model/inventory_device_configuration_compare.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def get_value_by_path(dict_data: dict, path: str):
8383
path = path.removeprefix("root")
8484

8585
# Convert the string path into a list of keys
86-
path_parts = path_parts = path.replace("']['", "/")[2:-2].split("/")
86+
path_parts = path.replace("']['", "/")[2:-2].split("/")
8787

8888
# extract the value
8989
for part in path_parts:

0 commit comments

Comments
 (0)