Skip to content

Commit 7400b13

Browse files
Merge pull request #107 from SWR-MoIP/finding-autofix-513
Fix for Variable defined multiple times
2 parents b10cff6 + ef46a3c commit 7400b13

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)