Skip to content

Commit aff9072

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 aff9072

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/videoipath_automation_tool/apps/topology/model/topology_device_configuration_compare.py

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

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

7272
# extract the value
7373
for part in path_parts:

0 commit comments

Comments
 (0)